go-i18n JSON files#
New in version 4.1.
Changed in version 4.16: Support for v2 variant of this format was added.
go-i18n translations are monolingual, so it is recommended to specify a base file with (what is most often the) English strings.
Note
Weblate supports the go-i18n JSON v1 and v2 variants. Please choose correct file format matching your environment.
See also
JSON, go-i18n, Updating target language files, Customize JSON output, Cleanup translation files,
Weblate configuration#
Typical Weblate Component configuration for v1 |
|
---|---|
File mask |
|
Monolingual base language file |
|
Template for new translations |
Empty |
File format |
go-i18n v1 JSON file |
Typical Weblate Component configuration for v2 |
|
---|---|
File mask |
|
Monolingual base language file |
|
Template for new translations |
Empty |
File format |
go-i18n v2 JSON file |