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

# Format.JS JSON datoteka

#### 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. -->

#### Podržane funkcije

| Datotečni sufiks                                                                                           | `.json`                                                                                   |
|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|
| Jezičnost [ⓘ](https://docs.weblate.org/hr/latest/formats.md#bimono)                                          | Jednojezične i dvojezične                                                                 |
| Podržava množinu [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-plurals)                           | `No`                                                                                      |
| Podržava opise [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-description)                         | `Yes`                                                                                     |
| Podržava objašnjenja [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-explanation)                   | `No`                                                                                      |
| Podržava kontekst [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-context)                          | `No`                                                                                      |
| Podržava mjesto [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-location)                           | `No`                                                                                      |
| Podržava oznake [ⓘ](https://docs.weblate.org/hr/latest/formats.md#format-flags)                              | `No`                                                                                      |
| Identifikator API-ja                                                                                       | `formatjs`                                                                                |
| Podržava izraze koji su samo-za-čitanje [ⓘ](https://docs.weblate.org/hr/latest/formats.md#read-only-strings) | `No`                                                                                      |
| Supports removing obsolete strings [ⓘ](https://docs.weblate.org/hr/latest/formats.md#obsolete-strings)       | `No`                                                                                      |
| Provjeri oznake koje je dodao ovaj format [ⓘ](https://docs.weblate.org/hr/latest/admin/checks.md#custom-checks)   | [ICU MessageFormat](https://docs.weblate.org/hr/latest/user/checks.md#check-icu-message-format) |
<!-- AUTOGENERATED END: format-features formatjs -->

## Weblate konfiguracija

|                                       | Typical Weblate [Konfiguracija komponente](https://docs.weblate.org/hr/latest/admin/projects.md#component)   |
|---------------------------------------|-----------------------------------------------------------------------------------------------------|
| Maska datoteke                        | `src/lang/*.json`                                                                                   |
| Jednojezična datoteka osnovnog jezika | `src/extracted/en.json`                                                                             |
| Predložak za nove prijevode           | Empty                                                                                               |
| Format datoteke                       | Format.JS JSON file                                                                                 |
