You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Magnus Haraldsen Amundsen <Ma...@computas.com> on 2008/03/25 16:02:59 UTC

Cocoon 2.2 & i18n

Hi,

 

We have a pipeline that takes an XML (from a JX Template) and transforms
it to HTML using an XSLT. Both the JX Template and the XSLT contains
text (labels etc.) that we want to i18nize. Is this possible?

Could we just add <18n:text> around all labels, text etc. in both the JX
Template and the XSLT, and then add a <map:transform type="i18n"> as the
final transform in the pipeline?
 
- Magnus
 

 


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.


Re: Cocoon 2.2 & i18n

Posted by Vadim Gritsenko <va...@reverycodes.com>.
On Mar 25, 2008, at 11:02 AM, Magnus Haraldsen Amundsen wrote:
> We have a pipeline that takes an XML (from a JX Template) and  
> transforms it to HTML using an XSLT. Both the JX Template and the  
> XSLT contains text (labels etc.) that we want to i18nize. Is this  
> possible?
> Could we just add <18n:text> around all labels, text etc. in both  
> the JX Template and the XSLT, and then add a <map:transform  
> type=”i18n”> as the final transform in the pipeline?

Yes, sure.

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