# i18next JSON

> Localization format for i18next framework

URL: https://store.crowdin.com/i18next-json
Identifier: i18next-json
Category: File Formats
Type: System
Author: Crowdin

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

| Attribute | Value |
| --------- | ----- |
| File Extension | .json |
| [API Type](https://developer.crowdin.com/api/v2/#operation/api.projects.files.post) | i18next_json |
| Source can be edited in Crowdin | Yes |
| Generating translated files via [Bundles](https://support.crowdin.com/bundles/) | [Search Crowdin Store](https://store.crowdin.com/tags/string-exporter) |
| 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

```json
{
  "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


**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"

}

```
