This is an old revision of the document!


Translation

With version 2.2 we have separated all language texts of the code and added in a separate XML file. Thus a translation become relatively easy and we look forward to any other language in which we can offer Admidio. Since version 3.1 we have changed the format of the translation files to Android String Resource and use the service of Transifex to perform the translations.

If you want to add a new language to Admidio please contact us first. We can thus avoid that multiple people simultaneously translate a language and discuss problems or other things directly. At the same time you can register yourself at Transifex and join the Admidio Project.

If you got an ok from us to translate Admidio in your favorite language you can do so within Transifex. Please start with the resource called main program strings. These are the strings Admidio needs. The other resources are plugins and countries that you may translate later.

If you have problems to select english as your source language then please have a look at this short how-to. This how-to starts at the Admidio Dashboard of Transifex.

Now you can start the translation of your favorite language.

If you want to see your work in Admidio you must download your translated strings from Transifex and copy this file to the Admidio folder adm_program/languages. Now you must introduce the new language to Admidio so that it will be shown in the language select box. Therefore you must add the ISO code and the name of the language to the XML file languages.xml in the folder adm_program/languages. The name of the language should not be translated, it should be the native name.

The following XML snippet must be adapted and another <language> tag should be appended to the file.

<language>
    <isocode>en</isocode>
    <name>english</name>
</language>

:!: Please note that the ISO code must be the same as the name of your xml file. E.g. if your downloaded XML file has the name xy.xml than your ISO code is xy.

Now restart your browser and go to your Admidio installation. You can now select your new language within the Regional settings of the preferences

Now translate all neccessary texts and then send us an email that the language is ready for delivery. We integrate the file in our source code and your translation will then be included in the next Admidio release.

  • en/entwickler/uebersetzen.1453148178.txt.gz
  • Last modified: 2016/01/18 21:16
  • by fasse