diff options
Diffstat (limited to 'gettext_test.go')
-rw-r--r-- | gettext_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gettext_test.go b/gettext_test.go index 8d26edb..b651152 100644 --- a/gettext_test.go +++ b/gettext_test.go @@ -14,10 +14,12 @@ import ( % xgettext -d example -s gettext_test.go -o example.pot -L c++ -i --keyword=NGettext:1,2 --keyword=Gettext - This will generate a example.pot file. Remember to set the UTF-8 charset. + This will generate a example.pot file. After translating the .pot file, you must generate .po and .mo files. + Remember to set the UTF-8 charset. + % msginit -l es_MX -o example.po -i example.pot % msgfmt -c -v -o example.mo example.po |