Skip to content

Localization

Benny Neugebauer edited this page Jan 16, 2017 · 11 revisions

Setup

  1. Install Ruby
  2. Install crowdin-cli: gem install crowdin-cli
  3. Create a keys/crowdin.yaml and 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:

Usage

If you want to add a new text

  1. Add the key and value for the text to our strings.coffee file and execute python trans.py
  2. Go to our Crowdin page and translate the copy (don't forget to "approve it!)
  3. Execute python trans.py again

If you want to change an existing text

  1. Go to our Crowdin page and translate the copy
  2. Approve the translation in Crowdin
  3. Execute python trans.py again

Note: The trans.py this will upload the sources and generate strings.coffee, strings-de.coffee, strings-xx.coffee, etc. from Crowdin.

Clone this wiki locally