cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sidharth" <sidhar...@npi.stpn.soft.net>
Subject Re: Internationalization
Date Wed, 28 Nov 2001 11:11:15 GMT
I have found I18n on cocoon2 but when I try to run the example of this I get
an error.
Could u tell me whether I18n works ina way I am explaining here
It uses java.util.Locale classes for translation??

----- Original Message -----
From: "Adam A R" <aadam@sybase.co.jp>
To: <cocoon-users@xml.apache.org>
Cc: <cocoon-users@xml.apache.org>
Sent: Wednesday, November 28, 2001 3:49 PM
Subject: Re: Internationalization


> Hi Siddharth,
>
> I have a similar problem. And currently I do the following.
>
> I get the preferred language for this user. Put it into the session
> variable 'i18n:lang'. And lo!! depending on the language choosen by
> the user the user will see Nihongo/Espanol/Francais/....
>
> But of course, I have to support it. I do this by using the i18n tags
> and enclosing the text presented to the user inside the
>
> <i18n:translate>
>     <i18n:text>Your text goes here....</i18n:text>
> </i18n:translate>
>
> And the dictionary referred must have the strings for the
> corresponding languages.
>
> Aint that easy-peasy!!??  :-)
>
> Hope this helps.
>
> cheers
>
> Adam
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message