JavaScript Resource Files (RESJSON)

Ajouté dans la version 5.15.

Note

Support for this format is under development. Some features might not yet be available and the behavior can change between releases. Feedback from testing is welcome.

JSON-based format used in Windows Store apps that use JavaScript and HTML. Sometimes it is also referred as Windows JSON.

Fichier d’exemples :

{
    "hello": "Ahoj světe!\n",
    "_hello.source": "Hello, world!\n",
    "orangutan": "",
    "_orangutan.source": "Orangutan has %d banana.\n",
    "weblate": "",
    "_weblate.source": "Try Weblate at <https://demo.weblate.org/>!\n",
    "thanks": "",
    "_thanks.source": "Thank you for using Weblate."
}
Fonctionnalités prises en charge

File extensions

.json

Linguality

Bilingual

Supports plural

No

Supports descriptions

No

Supports explanation

No

Supports context

No

Supports location

No

Supports flags

No

API identifier

resjson

Supports read-only strings

No

Configuration Weblate

Configuration des composants typique de Weblate

Masque de fichier

langs/*.json

Fichier de langue de base mono-langue

langs/en.json

Modèle pour les nouvelles traductions

Vide

Format de fichier

RESJSON file