cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Askild Aaberg Hofsøy Olsen <ask...@xangeli.com>
Subject Re: [C22] i18n
Date Mon, 23 Jun 2008 09:13:27 GMT
Magnus Haraldsen Amundsen wrote:
>
> The i18nTransformer works when I follow the 2.1 documentation, but 
> we’ve found that <i18n:text> tags that we’ve hardcoded in the Java 
> code doesn’t get translated. It seems as it only translates 
> <i18n:text> tags that we’ve added in the JX templates and the XSLT 
> stylesheets.
>
My guess is that your <i18n:text> in Java is just treated as the the 
string "<i18n:text>..</>", and are never parsed as an element in the stream.

If you look at the resulting XML before the i18n-transformer, do you see 
them as "&lt;18n:text&gt;"?

Askild


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message