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

語言能力

雙語言

支援複數

No

支援描述

No

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

resjson

支援唯讀字串

No

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

langs/*.json

單語的基底語言檔案

langs/en.json

新翻譯的範本

空白

檔案格式

RESJSON 檔案