Page 1 of 1

How to translate

Posted: 14 Dec 2017, 17:38
by Lobby
How are translation organized? Via a public repository you may find here:
Public Translation Repository

For every language there's a dedicated directory called values or values-*a language code* respectively. Each of these folders contain a values.xml file that holds the translation.
See http://www.loc.gov/standards/iso639-2/php/code_list.php for valid language codes.
English and German translations will always be up to date so others should use them for reference.

How translation works:
The values.xml file contains lines of the form

Code: Select all

<string name="...">"My translation"</string>
You have just to translate the part in between (here "My Translation"). Special characters like \n might be used to indicate a new line. When you're done with translation, make sure to create a 'pull request' so it can be merged into the main branch. If you don't you may loose your progress.