blob: 9650054ba39873887a2b052687e3bd0402674e3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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/bitmask-vpn/
When a string has being modified you need to regenerate the locales:
```
make generate_locales
```
To fetch the translations from transifex (API\_TOKEN is the transifex API token):
```
API_TOKEN='xxxxxxxxxxx' make locales
```
If you want to add a new language create an empty file `gui/i18n/main_$lang.ts` before running `make locales`.
Testing the translations
------------------------
Pass the language env vars:
LANG=es_ES LANGUAGE=es_ES make run
|