-
Notifications
You must be signed in to change notification settings - Fork 297
Localization
Benny Neugebauer edited this page Jan 16, 2017
·
11 revisions
- Install Ruby
- Install crowdin-cli:
gem install crowdin-cli - Create a
keys/crowdin.yamland put the following:
crowdin.yaml
api_key: ...The API Key can be obtained at: https://crowdin.com/project/wire-cs/settings#api
On Unix this can be done with:
echo -e "api_key: ..." >> ~/.crowdin.yaml
Documentation:
- Add the
keyandvaluefor the text to ourstrings.coffeefile and executepython trans.py - Go to our Crowdin page and translate the copy (don't forget to "approve it!)
- Execute
python trans.pyagain
- Go to our Crowdin page and translate the copy
- Approve the translation in Crowdin
- Execute
python trans.pyagain
Note:
The trans.py this will upload the sources and generate strings.coffee, strings-de.coffee, strings-xx.coffee, etc. from Crowdin.