cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: How to use i18n inside of a user defined action?
Date Thu, 18 Mar 2004 00:45:02 GMT
On 18.02.2004 12:59, ToyToy wrote:

> Hi,
> I'm using i18n inside a xsl to translate the options of a html selector
> (combo-box). The individual options are generated by a user-defined cocoon action
> (in java) as i18n keys. The same action also processes the client response.
> Unfortunatly the parameter with the user selected item now contains the
> translated text, so I can't compare it with my i18n keys.

The options have a key and a value. While you should translate the value 
(= the displayed entry) you should of course not translate the key. The 
key is sent back to the server after the client made it choice. I18n 
should make no problem using it this way.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message