JavaScript Resource Files (RESJSON)

Added in version 5.15.

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

Example file:

{
    "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."
}
Supported features

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

Supports removing obsolete strings ⓘ

No

Weblate configuration

Typical Weblate Component configuration

File mask

langs/*.json

Monolingual base language file

langs/en.json

Template for new translations

Empty

File format

RESJSON file