How to translate

Translation related things can be discussed here.
User avatar
Lobby
Developer
Posts: 3717
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

How to translate

#1

Post 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.

Return to “Translation”