Updated How to translate (markdown)
parent
2b5fc8e69a
commit
7b43ce484b
@ -4,15 +4,16 @@ This article will show you how you can help to translate this project.
|
||||
1. Install git, gettext and po4a.
|
||||
2. Fork this project.
|
||||
3. Clone your fork on your computer.
|
||||
4. (Optional:) Get an editor for po files or use an online service for it.
|
||||
|
||||
|
||||
We will begin with the simplest translations:
|
||||
|
||||
## Translation within the program - gettext
|
||||
## Translating the program
|
||||
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)
|
||||
4. Do your translation. (You can use some .po translation programs or use online services for it)
|
||||
5. Add your language to the `LINGUAS` file.
|
||||
|
||||
|
||||
@ -63,7 +64,7 @@ msgstr ""
|
||||
|
||||
## man pages
|
||||
|
||||
### Preparation
|
||||
### Translating the man pages
|
||||
1. Change into the `po4a` 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>" to "Last-Translator: Your Name <your.mail@address.tld>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user