cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
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.

Joerg

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


Mime
View raw message