JavaScript Resource Files (RESJSON)

Added in 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.

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."
}

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