gotext JSON 檔

在 4.15.1 版被加入.

gotext translations are monolingual, so it is recommended to specify a base file with (what is most often the) English strings.

支持的功能

檔案擴充

.json

Linguality

單語和雙語

Supports plural

Yes

支援描述

Yes

支援解釋

No

Supports context

No

Supports location

Yes

Supports flags

No

API 識別碼

gotext

Supports read-only strings

No

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

internal/translations/locales/*/messages.gotext.json

單語的基底語言檔

internal/translations/locales/en-GB/messages.gotext.json

新翻譯的範本

檔案格式

gotext JSON 檔案