JavaScript Resource Files (RESJSON)

在 5.15 版被加入.

備註

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.

範例檔案:

{
    "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."
}
支持的功能

檔案擴充

.json

Linguality

雙語言

Supports plural

No

支援描述

No

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

resjson

Supports read-only strings

No

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

langs/*.json

單語的基底語言檔

langs/en.json

新翻譯的範本

檔案格式

RESJSON 檔案