Welcome to the TheoTown Translation Repository! This repository contains the community-maintained translations used by TheoTown. Contributions that improve and maintain existing translations are welcome.
Each values[.*]/strings.xml file contains lines like this:
<string name="tagname">My translation</string>Simply translate the text between the tags (e.g. replace My Translation with your translation).
The special symbol \n can be used to indicate a new line.
When your changes are done, create a pull request so they can be reviewed and, if appropriate, merged into the main branch.
Each directory in this repository contains a strings.xml file for a specific language.
Here is a list of currently supported languages:
values: English (default language) ← Always up to datevalues-af: Afrikaansvalues-ar: Arabicvalues-b+fil: Filipinovalues-ca: Catalanvalues-cs: Czechvalues-de: German ← Always up to datevalues-es: Spanishvalues-eu: Basquevalues-fa: Persianvalues-fr: Frenchvalues-hu: Hungarianvalues-id: Indonesianvalues-it: Italianvalues-ja: Japanesevalues-jv: Javanesevalues-ko: Koreanvalues-lt: Lithuanianvalues-ms: Malayvalues-nl: Dutchvalues-pl: Polishvalues-pt: Portuguesevalues-pt-rPT: Portuguese (Portugal)values-ru: Russianvalues-sk: Slovakvalues-sr: Serbianvalues-th: Thaivalues-tr: Turkishvalues-uk: Ukrainianvalues-vi: Vietnamesevalues-zh: Chinesevalues-zh-rHK: Chinese (Hong Kong)values-zh-rTW: Chinese (Taiwan)
The list above reflects the languages currently supported by TheoTown. If you are interested in a language that is not listed, please contact us before starting a translation, as additional languages are only considered on a case-by-case basis.
English and German translations will always be up to date.
New strings will be appended to all strings.xml files in English by default.
Certain characters cannot be written directly within the xml file. You will have to replace them according to the following table:
| Character | Escaped form |
|---|---|
| " | " |
| ' | ' or \' |
| < | < |
| > | > |
| & | & |
Sidenote: In Json based translations all you have to replace is " by \".