i18next JSON Free
ByCrowdinVerified Author

Localization format for i18next framework

Try Crowdin

i18next JSON translation with Crowdin

Copy link

i18next JSON is a natively supported file format, you can use it without an additional installation. Just upload it to your projects and start the localization.

File Format Details

Copy link
Attribute Value
File Extension .json
API Type i18next_json
Source can be edited in Crowdin Yes
Generating translated files via Bundles Search Crowdin Store
Supports pluralization Yes
WYSIWYG Preview in the editor No
Supported types of contextual information Screenshots, In-Context
Custom attributes No
Existing translations import possibility Key-value mapping

Sample File

Copy link
{
  "key": "value",
  "keyDeep": {
    "inner": "value"
  },
  "keyNesting": "reuse $t(keyDeep.inner)",
  "keyInterpolate": "replace this ",
  "keyInterpolateUnescaped": "replace this",
  "keyInterpolateWithFormatting": "replace this ",
  "keyPluralSimple_one": "the singular",
  "keyPluralSimple_other": "the plural",
  "keyPluralMultipleEgArabic_zero": "the plural form 0",
  "keyPluralMultipleEgArabic_one": "the plural form 1",
  "keyPluralMultipleEgArabic_two": "the plural form 2",
  "keyPluralMultipleEgArabic_few": "the plural form 3",
  "keyPluralMultipleEgArabic_many": "the plural form 4",
  "keyPluralMultipleEgArabic_other": "the plural form 5",
  "keyWithArrayValue": ["multipe", "things"],
  "keyWithObjectValue": { "valueA": "return this with valueB", "valueB": "more text" }
}

Translating i18next JSON

Copy link

Note: To upload i18next JSON, use API or CLI specifying the localization type: "i18next_json"

Plurals


{

  "keyPluralSimple_one": "the singular",

  "keyPluralSimple_other": "the plural",

  "keyPluralMultipleEgArabic_zero": "the plural form 0",

  "keyPluralMultipleEgArabic_one": "the plural form 1",

  "keyPluralMultipleEgArabic_two": "the plural form 2",

  "keyPluralMultipleEgArabic_few": "the plural form 3",

  "keyPluralMultipleEgArabic_many": "the plural form 4",

  "keyPluralMultipleEgArabic_other": "the plural form 5"

}

Crowdin is a platform that helps you manage and translate content into different languages. Integrate Crowdin with your repo, CMS, or other systems. Source content is always up to date for your translators, and translated content is returned automatically.

Learn More
Categories
File Formats
Works with
  • Crowdin Enterprise
  • crowdin.com
Details

Released on May 16, 2022

Updated on Apr 30, 2024

Published by Crowdin

Identifier:i18next-json