summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-09-02 14:54:44 +0100
committerRichard Jones <rjones@redhat.com>2010-09-02 20:37:06 +0100
commit8c48f5ae2ea5221f6c53934262c5505f4b20ca8c (patch)
treeff5877505fb20f2fc06b2a227239b1ed90db2542 /HACKING
parent1193df7e0abfa25a78de246b6be148ec09470623 (diff)
downloadlibguestfs-8c48f5ae2ea5221f6c53934262c5505f4b20ca8c.tar.gz
libguestfs-8c48f5ae2ea5221f6c53934262c5505f4b20ca8c.tar.xz
libguestfs-8c48f5ae2ea5221f6c53934262c5505f4b20ca8c.zip
Allow manual pages and POD files to be translated.
This uses the optional po4a package to split these files into PO files for translation, and reassemble afterwards. Note this creates an extra pot file (po-docs/libguestfs-docs.pot). We don't (yet) combine this with the main po/libguestfs.pot file. The 'libguestfs-docs.pot' file included in this commit is not the real thing, just a short cut down snippet for testing. The real thing is created if you update one of the dependent files and rebuild. Note also the dummy ja.po, for testing the principles.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING8
1 files changed, 7 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index 900980a8..3d607373 100644
--- a/HACKING
+++ b/HACKING
@@ -116,7 +116,13 @@ ocaml/
OCaml bindings.
po/
- Translations.
+ Translations of simple gettext strings. For translations of
+ longer documents, see po-docs/.
+
+po-docs/
+ The build infrastructure and PO files for translations of
+ manpages and POD files. Eventually this will be combined
+ with the po/ directory, but that is rather complicated.
perl/
Perl bindings.