t

Another i18n pkg for golang, which follows GNU gettext style and supports .po/.mo files: `t.T (gettext)`, `t.N (ngettext)`, etc. And it contains a cmd tool [xtemplate](https://github.com/youthlin/t/blob/main/cmd/xtemplate), which can extract messages as a pot file from text/html template.

gettextgnu-gettextgo-gettextgo-i18ngo-l10ni18nl10ntranlationtranslatetranslate-api
21
Stars
5
Forks
0
Issues
21
Watchers

Similar Packages

go-i18n

Package and an accompanying tool to work with localized text.

3,489

go-pinyin

CN Hanzi to Hanyu Pinyin converter.

1,765

gotext

GNU gettext utilities for Go.

491

spreak

Flexible translation and humanization library for Go, based on the concepts behind gettext.

93

ctxi18n

Context aware i18n with a short and consise API, pluralization, interpolation, and `fs.FS` support. YAML locale definitions are based on [Rails i18n](https://guides.rubyonrails.org/i18n.html).

91