Format.JS JSON file#
バージョン 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"
}
}
Weblate の設定#
典型的な Weblate コンポーネント構成 |
|
---|---|
ファイル マスク |
|
モノリンガル用の、基礎となる言語ファイル |
|
新しい翻訳のテンプレート |
Empty(空) |
ファイル形式 |
Format.JS JSON file |