[Po4a-devel] XML: prevent some attributes from being translated

Nicolas François nicolas.francois at centraliens.net
Mon Mar 2 23:26:12 UTC 2009


On Mon, Mar 02, 2009 at 11:55:21PM +0100, poy at 123gen.com wrote:
> just noticed that if i change the content of a tag, that content isn't  
> translated; eg:
>
> #. type: Content of: <html><body>
> #: test.html:19
> msgid "abc <a po4a-id=0>link!</a> def"
> msgstr "abc <a po4a-id=0>lioonk!</a> def"
>
> is changed to:
> abc <a href="correct_link.html" target="bla">link!</a> def
>
> in the translated document. "link!" wasn't translated into "lioonk!";  
> attributes were correctly folded and unfolded, however.

Can you re-check with -o foldattributes set for po4a-translate?

Given your previous mesage, that's my current guess.

-- 
Nekral



More information about the Po4a-devel mailing list