Hi,
I'm trying to use po4a to manage Spanish translations of roxterm's man
pages (generated from Docbook/XML), but I can't get it to work properly
because po4a-translate translates 0% of the strings.
Originally the translator produced an XML file before we knew about
po4a, so I used po4a-gettextize to produce a .po file, which appeared to
work perfectly. But I can't get po4a-translate to produce a translated
XML file from it.
I tried -v which didn't print any extra info at all, and then -d which
printed this:
~/roxterm/po4a $ po4a-translate -d -v -f docbook -m ../roxterm.1.xml.in -p roxterm.1.es.po
-l roxterm.1.es.xml.in
readpo(roxterm.1.es.po)... done.
read(../roxterm.1.xml.in)...done.
parse...../roxterm.1.xml.in:47: (po4a::xml)
Content of tag <refentry> excluded: <placeholder
type="refentryinfo" id="0"/>
../roxterm.1.xml.in:62: (po4a::xml)
Content of tag <refentry><refmeta> excluded: &dhucpackage;
&dhsection;
../roxterm.1.xml.in:64: (po4a::xml)
Content of attribute
<refentry><refmeta><refmiscinfo>class
excluded: source
../roxterm.1.xml.in:65: (po4a::xml)
Content of attribute
<refentry><refmeta><refmiscinfo>class
excluded: version
../roxterm.1.xml.in:66: (po4a::xml)
Content of attribute
<refentry><refmeta><refmiscinfo>class
excluded: manual
../roxterm.1.xml.in:74: (po4a::xml)
Content of tag <refentry><refsynopsisdiv> excluded:
<placeholder
type="cmdsynopsis" id="0"/>
../roxterm.1.xml.in:125: (po4a::xml)
Content of tag <refentry><refsect1> excluded: <placeholder
type="variablelist" id="0"/>
done.
Discard the translation of ../roxterm.1.xml.in (only 0% translated; need 80%).
Surely that shouldn't be enough to make it give up entirely?
I haven't subscribed to the list so please Cc all replies to me or let
me know if I should subscribe. And I expect it would help if you see the
XML and .po files, but I wasn't sure whether it's OK to post attachments
here, so please let me know.
--
TH *
http://www.realh.co.uk