i18next

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

File Extensions .json
API Extension i18next
Format Options No
Import Yes
Export Yes
Pluralization supported? Yes
Descriptions/Comments supported? No

Example

{
  "key" : "item",
  "key_plural" : "items",
  "some_key_0" : "zero",
  "some_key_1" : "one",
  "some_key_4" : "many",
  "some_key_5" : "plural",
  "key_interval" : "(1){one item};(2-7){a few items};(7-inf){a lot of items};",
  "hello" : "World",
  "array" : [
    "value",
    "value"
  ]
}

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

  • i18next
  • i18next on GitHub