cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Pruy <Rainer.P...@Acrys.COM>
Subject Re: [C22] i18n
Date Mon, 23 Jun 2008 12:57:57 GMT
Hi Magnus,
is there an i18n transformer *after* <i18:text> is entered into the xml stream?

It is not the responsibility of xslt2html to process i18n entries.
For i18n to work there must be a i18n transformer.

Rainer

Magnus Haraldsen Amundsen schrieb:
> Tried, but that didn't change anything.
> 
> I can see from the source (the xml before the xslt2html) that it gets
> translated correctly. The problem is that it doesn't get displayed after
> the xslt2html. Somehow the XSLT transformation fails to display it.
> 
> -----Original Message-----
> From: Boris Goldowsky [mailto:bgoldowsky@cast.org] 
> Sent: 23. juni 2008 14:28
> To: users@cocoon.apache.org
> Subject: Re: [C22] i18n
> 
> 
> On Jun 23, 2008, at 5:26 AM, Magnus Haraldsen Amundsen wrote:
> 
>> It's written to the JX Template using:
>>
>> <c:messages>
>>   <jx:out value="#{messages}" xmlize="true"/>
>> </c:messages>
>>
>> Where the jx:out contains a Java String that looks like this:
>>
>> <c:messages>
>>   <c:message>
>>     <i18n:text key="provided_ok"/>
>>   </c:message>
>> </c:messages>
>>
> 
> I suspect that you need to change that to:
>         <i18n:text key="provided_ok"  xmlns:i18n="http://apache.org/ 
> cocoon/i18n/2.1">
> 
> in order for jx:out to get the namespace on that element right.
> 
> Bng
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> IMPORTANT NOTICE:
> This message may contain confidential information. 
> If you have received this e-mail in error, do not use, copy or 
> distribute it. Do not open any attachments. Delete it immediately from
> your system and notify the sender promptly by e-mail that you 
> have done so. Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

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


Mime
View raw message