]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Some notes for translators 8270/head
authorDaniele Medri <dmedri@gmail.com>
Fri, 23 Feb 2018 19:33:48 +0000 (20:33 +0100)
committerDaniele Medri <dmedri@gmail.com>
Fri, 23 Feb 2018 19:33:48 +0000 (20:33 +0100)
TRANSLATORS [new file with mode: 0644]

diff --git a/TRANSLATORS b/TRANSLATORS
new file mode 100644 (file)
index 0000000..99c144e
--- /dev/null
@@ -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.