Format.JS JSON-bestand

Added in version 5.4.

Gebruikte bestandsindeling bij vertalen van toepassingen in Format.JS en React-Intl.

Voorbeeld bestand:

{
  "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"
  }
}
Ondersteunde mogelijkheden

Bestandsextensies

.json

Taalgebied

Zowel enkeltalige als tweetalige

Ondersteunt meervoud

No

Ondersteunt beschrijvingen

No

Ondersteunt uitleg

No

Ondersteunt context

No

Ondersteunt locatie

No

Ondersteunt vlaggen

No

API-identificatie

formatjs

Ondersteunt tekenreeksen alleen-lezen

No

Check flags added by this format

ICU MessageFormat

Weblate-configuratie

Typisch Weblate Configuratie onderdeel

Bestandsmasker

src/lang/*.json

Enkeltalig basistaalbestand

src/extracted/en.json

Sjabloon voor nieuwe vertalingen

Leeg

Bestandsformaat

Format.JS JSON-bestand