summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/README.md b/README.md
index 4e75116..fc2be52 100644
--- a/README.md
+++ b/README.md
@@ -78,17 +78,19 @@ In that case bitmask-systray assumes that you already have bitmaskd running. Run
i18n
----
-Generate `locales/*` files:
+When a string has being modified you need to regenerate the locales:
```
- $ make generate_locales LANGS="sjn tlh"
+ $ make generate_locales
```
-Edit the `locales/*/out.gotext.json` translations into `locales/*/messages.gotext.json`.
-
-To rebuild the locales:
+To fetch the translations from transifex and rebuild the catalog.go (API\_TOKEN is the transifex API token):
```
- $ make locales
+ $ 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`.
Report an issue