]>
Commit | Line | Data |
---|---|---|
69a653b6 DM |
1 | Notes for translators |
2 | ===================== | |
3 | ||
f09eb768 | 4 | systemd depends on gettext for multilingual support. |
69a653b6 DM |
5 | In po/ directory you'll find the needed files. |
6 | ||
7 | POT (Portable Object Template) | |
8 | ------------------------------ | |
f09eb768 | 9 | A text file with .pot extension, with all the extracted labels from code. |
69a653b6 DM |
10 | |
11 | To update the template: | |
12 | ||
13 | $ cd systemd/ | |
14 | $ ninja -C build systemd-pot | |
15 | ||
16 | To start a new translation: | |
17 | ||
18 | $ cd po/ | |
19 | $ cp systemd.pot <YOUR-LANG-CODE>.po | |
20 | ||
21 | Replace <YOUR-LANG-CODE> with the two-letters codes of ISO 639 standard. | |
22 | ||
23 | PO (Portable Object) | |
24 | -------------------- | |
25 | A text file with .po extension, with all the available labels and some additional | |
26 | metadata fields. Any editor is ok, but a good standard is 'poedit', a graphical | |
27 | application specifically designed for this kind of task. |