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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to