1. Help Center
  2. Supported formats

i18next

Learn how to manage JSON format used by i18next in Phrase.

File Extensions
.json
API Extension

i18next
Import

Yes
Export

Yes
Pluralization supported?

Yes
Descriptions supported?

No

Code Sample 

{
  "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": "I'm a deeply nested key."
    },
    "key": "This key is nested inside a namespace."
  },
  "null_translation": "",
  "sample_collection": [
    "first item",
    "second item",
    "third item"
  ],
  "simple_key": "simple key, simple message, so simple.",
  "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.

More Information