1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

Some notes for translators

This commit is contained in:
Daniele Medri 2018-02-23 20:33:48 +01:00
parent 398141b930
commit 69a653b64d

27
TRANSLATORS Normal file
View File

@ -0,0 +1,27 @@
Notes for translators
=====================
Systemd depends on gettext for multilingual support.
In po/ directory you'll find the needed files.
POT (Portable Object Template)
------------------------------
A text file with .pot extension, with all the extracted labels from code.
To update the template:
$ cd systemd/
$ ninja -C build systemd-pot
To start a new translation:
$ cd po/
$ cp systemd.pot <YOUR-LANG-CODE>.po
Replace <YOUR-LANG-CODE> with the two-letters codes of ISO 639 standard.
PO (Portable Object)
--------------------
A text file with .po extension, with all the available labels and some additional
metadata fields. Any editor is ok, but a good standard is 'poedit', a graphical
application specifically designed for this kind of task.