[Po4a-devel] Xhtml: SSI comment included in translations

poy poy at 123gen.com
Fri Mar 20 14:00:13 UTC 2009


hi,

i've been playing with the "includessi" option from the Xhtml module 
recently, and it's working very well!

between <body> and </body>, i add:
<!--#include virtual="commands_user.inc" -->
and the contents of that file are correctly translated and included.

the tag is changed into a simple comment:
<!-- SSI included by po4a: virtual="commands_user.inc" -->
followed by the translated contents of the included file.

all good, but i have one little (non-)issue; in the translation template, 
the following translation is added:
#. type: Content of: <html><body>
#: help/commands_user.html:15 help/window_hub.html:45
msgid "<!-- SSI included by po4a: virtual=\"commands_user.inc\" -->"
msgstr ""

obviously this is not to be translatable; when i add a comment between 
<body> and </body>, eg:
<!-- blah -->
the comment is ignored by po4a and doesn't end up in the translation file. 
so it's a little odd that the SSI comment does end up in there...

could this be checked please?

thanks,

poy 




More information about the Po4a-devel mailing list