Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 14280 invoked from network); 18 Mar 2004 00:44:54 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Mar 2004 00:44:54 -0000 Received: (qmail 87780 invoked by uid 500); 18 Mar 2004 00:44:32 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 87539 invoked by uid 500); 18 Mar 2004 00:44:30 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 87517 invoked from network); 18 Mar 2004 00:44:30 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 18 Mar 2004 00:44:30 -0000 Received: (qmail 7718 invoked by uid 65534); 18 Mar 2004 00:44:36 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp022) with SMTP; 18 Mar 2004 01:44:36 +0100 X-Authenticated: #3483660 Message-ID: <4058F10E.6010300@gmx.de> Date: Thu, 18 Mar 2004 01:45:02 +0100 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, de, en-us, en-gb, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: How to use i18n inside of a user defined action? References: <17233.1077105581@www57.gmx.net> In-Reply-To: <17233.1077105581@www57.gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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