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:
parent
398141b930
commit
69a653b64d
27
TRANSLATORS
Normal file
27
TRANSLATORS
Normal 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.
|
Loading…
Reference in New Issue
Block a user