Nextcloud Apps JSON files

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 Nextcloud Apps that use JavaScript and HTML.

Example file:

{
    "translations": {
        "Hello, world!\n": "Ahoj světe!\n",
        "Orangutan has %d banana.\n": null,
        "Try Weblate at <https://demo.weblate.org/>!\n": null,
        "Thank you for using Weblate.": null
    }
}
Supported features

File extensions

.json

Linguality

Bilingual

Supports plural

Yes

Supports descriptions

No

Supports explanation

No

Supports context

No

Supports location

No

Supports flags

No

API identifier

nextcloud-json

Supports read-only 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

Nextcloud JSON file