Copyleft (c) 2004 — Danilo Segan

Requirements
............

 * Python
 * libxml2 and libxml2-python
 * xml2po.py

Preparing a POTemplate from summary.xml:
........................................

 ./xml2po.py summary.xml > summary.pot

You may use parameters '-f final-tags' and '-i ignored-tags', where
file final-tags and ignored-tags contain one-tag-per-line, and first 
are considered "final" (i.e. do not recurse over its children), and
latter are ignored (including its children).  If you do not use -f or
-i parameters, default is to read files "final-tags" and
"ignored-tags" from current working directory.

You may want to add "link" tag to ignored-tags.

Send out a POT file to translators
..................................

 cat summary.pot | mail translator@blablah

 :)

Get back a translation from a translator
........................................

Save a translation to xx.po, where xx is language code of a
translation (i.e. "sr" for Serbian, "de" for German, ...).

Execute:
 msgfmt -v -o xx.gmo xx.po
 ./xml2po.py -m -t xx.gmo summary.xml > summary-xx.xml

Now you've got a nice and translated summary in file 'summary-xx.xml'.

