Hi,
2007/12/19, David Suárez Pascal:
Hi, I'm employing po4a to manage translation of DocBook XML files
and
until now it has served me well. However I added a new feature to the
original document requiring employment of XML attributes. The problem
is po4a seems to be not capable of managing translation of these. Is
that true or am I missing something on the config file?
po4a should be able to translate the attributes, but you have to
specify which ones. If those are standard DocBook XML attributes, then
just report which ones and those will be added to the docbook module.
If they are custom attributes, you have to specify them in the module
options.
For reference, look at these:
* the "attributes" option in the module options in
http://po4a.alioth.debian.org/man/man3pm/Locale::Po4a::Xml.3pm.php
* "Specifying options for the modules" in
http://po4a.alioth.debian.org/man/man1/po4a.1.php
I hope it helps.
Regards,
Jordi Vilalta