Format.JS JSON 檔案¶
在 5.4 版被加入.
File format used when translating Format.JS and React-Intl applications.
範例檔案:
{
"hak27d": {
"defaultMessage": "Control Panel",
"description": "title of control panel section"
},
"haqsd": {
"defaultMessage": "Delete user {name}",
"description": "delete button"
},
"19hjs": {
"defaultMessage": "New Password",
"description": "placeholder text"
},
"explicit-id": {
"defaultMessage": "Confirm Password",
"description": "placeholder text"
}
}
副檔名 |
|
|---|---|
語言能力 ⓘ |
單語和雙語 |
支援複數 ⓘ |
|
支援描述 ⓘ |
|
支援解釋 ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API 識別碼 |
|
支援唯讀字串 ⓘ |
|
Check flags added by this format ⓘ |
Weblate 配置¶
典型的 Weblate 組件配置 |
|
|---|---|
檔案遮罩 |
|
單語的基底語言檔案 |
|
新翻譯的範本 |
空白 |
檔案格式 |
Format.JS JSON 檔案 |