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

# Format.JS JSON-fil

#### Versionadded
Added in version 5.4.

Filformat som används vid översättning av Format.JS- och React-Intl-applikationer.

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

Exempelfil:

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

#### Stödda funktioner

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

## Weblate-konfiguration

|                             | Typisk Weblate [Komponentkonfiguration](https://docs.weblate.org/sv/latest/admin/projects.md#component)   |
|-----------------------------|--------------------------------------------------------------------------------------------------|
| Filmask                     | `src/lang/*.json`                                                                                |
| Enspråkig basspråkfil       | `src/extracted/en.json`                                                                          |
| Mall för nya översättningar | Tom                                                                                              |
| Filformat                   | Format.JS JSON-fil                                                                               |
