I don't know if i understand the question correctly,
but if you want to enable the user to select the displayed
language, you only have to change the locale which ist
stored in the session

request.getSession().setAttribute(Action.Locale,new Locale(FR,fr));

the Action is the class form struts, and the locale simply uses ISO Code
Then you only have to provide the ApplicationRessources_fr.properties
and then you have enabled the user to select his locale

Oliver

-----Original Message-----
From: Jefferson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 4:48 AM
To: Struts Users Mailing List
Subject: Re: I18N


the second one (changing the reference from an english
properties file to a portuguese properties file

Jefferson


Louis Leung wrote:

> do u mean changing the propertises of a properties file from english to
> portuguese ?  or do u mean changing the reference from an english
propertises
> file to a portuguese propertises file ?
>
> Jefferson Rodrigues de Oliveira e Silva wrote:
>
> > Hi guys,
> >
> > I have a problem with I18N... how can I change my properties file from
> > english to, let's say, portuguese, during execution time ? I want to
> > allow the
> > user to change it in the site ...
> >
> > Thanks a lot
> > Best regards,
> >
> > Jefferson
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to