From acdb13c02ab1b6e26871c14a204a0bd31aab19d6 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 19 Nov 2020 11:24:57 +0100 Subject: [i18n] update the i18n documentation Let's delete as well the locales folder that is not used anymore. - Resolves: #314 --- docs/i18n-howto.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'docs') 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`. -- cgit v1.2.3