From 69a653b64d7c076d41a1b0bd3ce4c7da9ae2999b Mon Sep 17 00:00:00 2001 From: Daniele Medri Date: Fri, 23 Feb 2018 20:33:48 +0100 Subject: [PATCH] Some notes for translators --- TRANSLATORS | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 TRANSLATORS diff --git a/TRANSLATORS b/TRANSLATORS new file mode 100644 index 0000000000..99c144eb12 --- /dev/null +++ b/TRANSLATORS @@ -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 .po + +Replace 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.