Notice

This page show a previous version of the article

Interface Translation

Information for Translators

  1. Applying to a translation group. First you will need to have a Launchpad account. Then you will need to apply to the translation group of the language you would like to translate to. In order to know which translation group to apply to, go to this page: https://translations.launchpad.net/tatoeba. Click on the desired language, and look at the bottom of the new page. It will indicate the translation group for that language. For instance, this is the page for Swedish. And this is the translation group for Swedish. If you are not part of a translation group, you can only make suggestions, but they will have to be validated by a member of the translationg group. If you apply and never get accepted into a translation group, contact us and we will figure out something else to let you translate.

  2. Your language is not in the list? You have the possibility to add a new language if you don’t see your desired language in the list. On the page listing the languages, click on "Choose preferred languages..." at the bottom of the list, then choose your language.

  3. Translating. Once you're in a translation group, you can go back to the page of the corresponding language you want to translate to, and start translating :)

That's it. Don't hesitate to contact us if you encounter any issue. And thanks for translating!

Information for Developers

  1. Extracting strings from code source. We extract from the code source the strings that need to be translated. These strings are saved into a POT file. It’s just a text file, with some special format (you can open it with a text editor like Notepad). The concept is that the POT file is the template. From this template will be created several PO files: each PO file will contain the translations into a specific language.

  2. Sending POT file to Launchpad. We send the POT file to a platform called Launchpad. It provides a web interface to manage translations of the POT file and gives the possibility to translate collaboratively. Launchpad will process the POT file to update the existing PO files. It will scan for new strings in the POT file and add them to each PO file. It will detect strings that are no longer present and delete them from each PO file.

  3. Updating Tatoeba. Updates of the interface translations are performed on a regular basis. The PO files are downloaded and converted into MO files. The MO files are binary files, and they are the ones that Tatoeba uses to get the translations of the interface. So it’s only when the latest MO files are uploaded to the server that Tatoeba translations are actually updated.