summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2020-11-19 11:24:57 +0100
committerRuben Pollan <meskio@sindominio.net>2020-11-19 11:26:15 +0100
commitacdb13c02ab1b6e26871c14a204a0bd31aab19d6 (patch)
tree56308f86759145e9b5197a05e4f3cbc34e10e2f6 /docs
parent979da2d902f53276f26cefec4b151f4f66ba6c3e (diff)
[i18n] update the i18n documentation
Let's delete as well the locales folder that is not used anymore. - Resolves: #314
Diffstat (limited to 'docs')
-rw-r--r--docs/i18n-howto.rst8
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`.