diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/i18n-howto.rst | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/i18n-howto.rst b/docs/i18n-howto.rst index 337c2e6..3790afe 100644 --- a/docs/i18n-howto.rst +++ b/docs/i18n-howto.rst @@ -3,7 +3,7 @@ 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/ +https://www.transifex.com/otf/bitmask/bitmask-vpn/ When a string has being modified you need to regenerate the locales: ``` @@ -11,11 +11,9 @@ When a string has being modified you need to regenerate the locales: ``` -To fetch the translations from transifex and rebuild the catalog.go (API\_TOKEN is the transifex API token): +To fetch the translations from transifex (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`. +If you want to add a new language create an empty file `gui/i18n/main_$lang.ts` before running `make locales`. |