Version at: 02/04/2014, 20:07

# Interface Translation

I will explain below all the steps we’re going through to provide Tatoeba in several languages. If you want to help us translate the interface, **steps 3 to 5** contain the main information. However, it’s good to know about what happens before and after.

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](http://launchpad.net). 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. **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](https://translations.launchpad.net/tatoeba/trunk/+pots/default/sv/+translate). And this is the [translation group for Swedish](https://launchpad.net/~lp-l10n-sv).
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.

4. **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](https://translations.launchpad.net/tatoeba), click on "Choose preferred languages..." at the bottom of the list, then choose your language.

5. **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 :)
We know it's a bit tedious to get there. Just so you know, we used to have translations open (you only needed to be registered in Launchpad to translate), but the translations were vandalized and we decided to restrict the permissions. 

6. **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.

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

version at: 02/04/2014, 20:16

# 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](https://translations.launchpad.net/tatoeba/trunk/+pots/default/sv/+translate). And this is the [translation group for Swedish](https://launchpad.net/~lp-l10n-sv).
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](https://translations.launchpad.net/tatoeba), 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](http://launchpad.net). 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.

Note

The lines in green are the lines that have been added in the new version. The lines in red are those that have been removed.