FaqGuide and pot

Claude Paroz paroz at email.ch
Tue Oct 11 20:33:43 UTC 2005


Hi,

I realize there is still much to do with translation of Docbook
documents (eg FaqGuide), at least with the xml2po utility.

Two things I just came upon :

1. xreflabels aren't included in the pot file. That leads to something
like (in French) : "Voir Where can I download Ubuntu? pour les sites de
téléchargement."

2. Some entity are expanded when creating the pot file. By example,
&ubuntu; is expanded to <phrase>Ubuntu</phrase>. Then, when the
translated po is merged back, xml2po cannot match the original text with
the msgid, resulting in a non translated string. Or maybe I did
something false ?

Hopefully these issues will be resolved in a future version of
gnome-doc-utils. Until then, I fear we'll still need to manually tweak
the resulting files.

Meanwhile I'll try to produce a corrected HTML French version to put it
on the Loco website. What is the best way to produce an HTML output from
XML ?

Claude





More information about the ubuntu-doc mailing list