i18next

JSON dialect used by i18next, one of the most popular libraries to localize js applications.

File Extensions.json
API Extensioni18next
Format OptionsNo
ImportYes
ExportYes
Pluralization supported?Yes
Descriptions supported?No

Example

{
  "boolean_key": "--- true\n",
  "empty_string_translation": "",
  "key_with_description": "Check it out! This key has a description! (At least in some formats)",
  "key_with_line-break": "This translations contains\na line-break.",
  "nested": {
    "deeply": {
      "key": "Wow, this key is nested even deeper."
    },
    "key": "This key is nested inside a namespace."
  },
  "null_translation": "",
  "sample_collection": [
    "first item",
    "second item",
    "third item"
  ],
  "simple_key": "Just a simple key with a simple message.",
  "unverified_key": "This translation is not yet verified and waits for it. (In some formats we also export this status)",
  "pluralized_key": "Only one pluralization found.",
  "pluralized_key_plural": "Wow, you have %s pluralizations!"
}

What is supported?

i18next offers a lot of functionality. We fully support

  • Pluralizations
  • Namespaces
  • Arrays

What is not supported?

Interval Pluralizations are persisted as normal key values. There is no support in the UI.

Nesting / Variable replacement is not supported directly. However placeholders can be activated. We currently do not support cross-referencing keys from within values. There is no support in the UI.


Further Reading