diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-10-16 02:17:09 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-10-23 23:24:47 +0200 |
commit | 7aa96cb396a84cf7a2818a23efb7f80d82a6fbbe (patch) | |
tree | f700ab0e24437c9d2e5b70f358a26b2684880efe /docs/i18n-howto.rst | |
parent | 015faa8fe70912da4faa1528c88c3ef6b9fcaabd (diff) |
[pkg] rename to make-installer
Diffstat (limited to 'docs/i18n-howto.rst')
-rw-r--r-- | docs/i18n-howto.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/i18n-howto.rst b/docs/i18n-howto.rst new file mode 100644 index 0000000..337c2e6 --- /dev/null +++ b/docs/i18n-howto.rst @@ -0,0 +1,21 @@ +Howto i18n +---------- + +The translations are done in transifex. To help us contribute your translations there and/or review the existing +ones: +https://www.transifex.com/otf/bitmask/RiseupVPN/ + +When a string has being modified you need to regenerate the locales: +``` + make generate_locales +``` + + +To fetch the translations from transifex and rebuild the catalog.go (API\_TOKEN is the transifex API token): +``` + API_TOKEN='xxxxxxxxxxx' make locales +``` +There is some bug on gotext and the catalog.go generated doesn't have a package, you will need to edit +cmd/bitmask-vpn/catalog.go and to have a `package main` at the beginning of the file. + +If you want to add a new language create the folder `locales/$lang` before running `make locales`. |