How to translate

Translation related things can be discussed here.
Post Reply
User avatar
Lobby
Developer
Reactions:
Posts: 2970
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone: S7 edge

How to translate

Post by Lobby » Thu Dec 14, 2017 17:38

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 create a 'pull request' so it can be merged into the main branch. If you don't you may loose your progress.
...Have a nice stay

Post Reply

Return to “Translation”

Who is online

Users browsing this forum: No registered users and 1 guest