[Po4a-devel] Translatable attributes in HTML

Kaloian Doganov kaloian at doganov.org
Sat Aug 11 21:51:47 UTC 2007


Nicolas François <nicolas.francois at centraliens.net> writes:

    I would use a single POT for all the files.

This will lead to an unmaintainable mess.  Usually, different articles
are translated and maintained by different persons.  Working with all
the strings of all articles together in a single po-file will be a
nightmare for translators.
    
    See attached a patch I plan to commit.  It adds a ontagerror
    option to the Xml module, and implement multiple strategies.

Great!  Using this patch and "ontagerror=reset" option makes po4a
almost perfect for the job.

I've noticed a problem with the output of po4a-translate.  An empty
elements with no tag names appear where the non-matching closing tags
should be found.  Here is an example:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20070812/47c09801/attachment.html 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20070812/47c09801/attachment-0001.html 


More information about the Po4a-devel mailing list