Updated How to translate (markdown)

Bandie 2018-10-01 00:35:09 +02:00
parent 50445b0533
commit ddb4233a9e

@ -9,13 +9,12 @@ This article will show you how you can help to translate this project.
We will begin with the simplest translations:
## Translation within the program - gettext
1. Run `autoreconf -i && ./configure`.
2. Change into the `po` directory.
3. Run `msginit --locale=<your locale here>` (for example `msginit --locale=de_DE.UTF-8`). This will ask for your mail adress. It will generate a file ending with `.po` which you want to translate.
4. Change the header from `"Last-Translator: <your.mail@address.tld>\n"` to `"Last-Translator: Your Name <your.mail@address.tld>\n"`
5. Do your translation. (You can use some .po translation programs)
6. Add your language to the `LINGUAS` file.
7. Run `make update-po`.
1. Change into the `po` directory.
2. Run `msginit --locale=<your locale here>` (for example `msginit --locale=de_DE.UTF-8`). This will ask for your mail adress. It will generate a file ending with `.po` which you want to translate.
3. Change the header from `"Last-Translator: <your.mail@address.tld>\n"` to `"Last-Translator: Your Name <your.mail@address.tld>\n"`
4. Do your translation. (You can use some .po translation programs)
5. Add your language to the `LINGUAS` file.
### .po gettext translation convention