<a id="formatjs"></a>

# Format.JS JSON file

#### Versionadded
Added in version 5.4.

File format used when translating Format.JS and React-Intl applications.

#### SEE ALSO
* [JSON](https://docs.translatehouse.org/projects/translate-toolkit/en/latest/formats/json.html)
* [Format.JS Message Extraction](https://formatjs.github.io/docs/getting-started/message-extraction)

Example file:

```json
{
  "hak27d": {
    "defaultMessage": "Control Panel",
    "description": "title of control panel section"
  },
  "haqsd": {
    "defaultMessage": "Delete user {name}",
    "description": "delete button"
  },
  "19hjs": {
    "defaultMessage": "New Password",
    "description": "placeholder text"
  },
  "explicit-id": {
    "defaultMessage": "Confirm Password",
    "description": "placeholder text"
  }
}
```

<!-- AUTOGENERATED START: format-features formatjs -->
<!-- This section is automatically generated by `./manage.py list_format_features`. Do not edit manually. -->

#### Supported features

| File extensions                                                                                      | `.json`                                                                                   |
|------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|
| Linguality [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#bimono)                                   | Both monolingual and bilingual                                                            |
| Supports plural [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#format-plurals)                      | `No`                                                                                      |
| Supports descriptions [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#format-description)            | `Yes`                                                                                     |
| Supports explanation [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#format-explanation)             | `No`                                                                                      |
| Supports context [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#format-context)                     | `No`                                                                                      |
| Supports location [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#format-location)                   | `No`                                                                                      |
| Supports flags [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#format-flags)                         | `No`                                                                                      |
| API identifier                                                                                       | `formatjs`                                                                                |
| Supports read-only strings [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#read-only-strings)        | `No`                                                                                      |
| Supports removing obsolete strings [ⓘ](https://docs.weblate.org/no/weblate-2026.10/formats.md#obsolete-strings) | `No`                                                                                      |
| Check flags added by this format [ⓘ](https://docs.weblate.org/no/weblate-2026.10/admin/checks.md#custom-checks)      | [ICU MessageFormat](https://docs.weblate.org/no/weblate-2026.10/user/checks.md#check-icu-message-format) |
<!-- AUTOGENERATED END: format-features formatjs -->

## Weblate configuration

|                                | Typical Weblate [Component configuration](https://docs.weblate.org/no/weblate-2026.10/admin/projects.md#component)   |
|--------------------------------|----------------------------------------------------------------------------------------------------|
| File mask                      | `src/lang/*.json`                                                                                  |
| Monolingual base language file | `src/extracted/en.json`                                                                            |
| Template for new translations  | Empty                                                                                              |
| File format                    | Format.JS JSON file                                                                                |
