How to translate

Translation related things can be discussed here.
User avatar
Posts: 3641
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta


How to translate


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 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.
=^._.^= ∫

Return to “Translation”