Hi, do u have a proper definiation of properties file for es_ES , as if there is no properties file for it, then struts get message from default file
Ashish --- Miguel Angel Medina Lopez <[EMAIL PROTECTED]> wrote: > First of all thank you. > > I have tried that with the same result, the output > messages continue in > english. > > ------------------------------------------------------------- > Miguel Ángel Medina López > Logic Factory: www.logic-factory.com > Granada - España > > ----- Original Message ----- > From: "Ashish Kulkarni" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > Sent: Tuesday, March 25, 2003 9:01 PM > Subject: Re: Problem with locale > > > > Hi, > > try putting locale in the session of the user, > > Locale l=new Locale("es","ES"); > > session.setAttribute(Globals.LOCALE_KEY , l); > > > > Ashish > > --- Miguel Angel Medina Lopez > > <[EMAIL PROTECTED]> wrote: > > > Hi all: > > > > > > I have a problem when I want to change the > locale of > > > my struts application. By defauly, when I get > the > > > Locale, with the next code: > > > > > > log.debug("The locale is "+locale.toString()); > > > > > > the result is "The locale is en_US". Now I want > to > > > change the locale to spanish with the code: > > > > > > Locale l=new Locale("es","ES"); > > > setLocale(request,l); > > > > > > and the out from the logger is "The locale is > > > es_ES", however, in the JSPs, the output take > the > > > messages from the english (_en) resource bundle. > The > > > default resource is in spanish. > > > > > > Any suggestion? Thank you in advance. > > > > > > > > > ------------------------------------------------------------- > > > Miguel Ángel Medina López > > > Logic Factory: www.logic-factory.com > > > Granada - España > > > > > > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Platinum - Watch CBS' NCAA March Madness, > live on your desktop! > > http://platinum.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]