struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Struts 2.0.11 localization issue
Date Tue, 04 Dec 2007 02:48:38 GMT
Please move this discussion to the user list.

Thanks,
Dave

--- giglian <andrea.gigliotti@smurfitkappa.it> wrote:

> 
> I tried using the example application
> (struts2-blank-2.0.11.war) and it
> working fine using package_es.properties and
> package.properties, that is I
> getting the messages in the right language. 
> I get the same result using package_fr.properties
> rather than
> package_es.properties. 
> But if I rename the package_es.properties in
> package_it.properties, it did't
> work, that is the messages are always displayed in
> the O.S. language. 
> Anyone can help me? I'm becoming crazy... 
> It seems to be a bug related with the "it" extension
> !!!
> Thank's for your time! 
> 
> Andrea 
> 
> 
> astepanenko wrote:
> > 
> > Hi Dave,
> > 
> > I didn't notice it was sent to dev list. I
> apologise for this.
> > 
> > Andrew
> > 
> > On Dec 1, 2007 1:01 AM, Dave Newton
> <newton.dave@yahoo.com> wrote:
> >> Please move this discussion over to the
> struts-user
> >> mailing list. Thanks!
> >>
> >> Dave
> >>
> >> --- Andrew Stepanenko
> <andrew.stepanenko@gmail.com>
> >> wrote:
> >>
> >>
> >> > I have something similar like this. If I append
> >> > request_locale=uk to a
> >> > JSP there is no effect, and still the default
> locale
> >> > from
> >> > struts.properties is displayed. If I append
> >> > request_locale=uk to an
> >> > .action link, than the locale is changed, but
> only
> >> > for this current
> >> > HTTP request. Next clicks on links cause the
> default
> >> > locale to be
> >> > displayed again.
> >> >
> >> > Did anyone experience anything similar to the
> above?
> >> >
> >> > Thanks,
> >> > Andrew
> >> >
> >> > On Nov 30, 2007 4:34 PM, giglian
> >> > <andrea.gigliotti@smurfitkappa.it> wrote:
> >> > >
> >> > > my web app display message in jsp page (
> using
> >> > <s:text name="......."/>)
> >> > > always in one language.
> >> > > I have two localization files
> (package.properties
> >> > and package_it.properties
> >> > > in the same folder), and I always get the
> messages
> >> > in Italian language even
> >> > > if the client language is English (en-us).
> >> > > Rather in my production environment (O.S.
> Windows
> >> > Server 2003 English), the
> >> > > same web app always displaying the same
> messages
> >> > in English language even if
> >> > > the client language (IE 6) is Italian (it).
> >> > > I tried to do everythings but with any
> result.
> >> > > Please help me to solve this issue.
> >> > > Thanks in advance for your time.
> >> > >
> >> > > Andrea
> >> > > --
> >> > > View this message in context:
> >> >
> >>
>
http://www.nabble.com/Struts-2.0.11-localization-issue-tf4913375.html#a14065489
> >> > > Sent from the Struts - Dev mailing list
> archive at
> >> > Nabble.com.
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail:
> >> > dev-unsubscribe@struts.apache.org
> >> > > For additional commands, e-mail:
> >> > dev-help@struts.apache.org
> >> > >
> >> > >
> >> >
> >> >
> >>
>
---------------------------------------------------------------------
> >> > To unsubscribe, e-mail:
> >> > dev-unsubscribe@struts.apache.org
> >> > For additional commands, e-mail:
> >> > dev-help@struts.apache.org
> >> >
> >> >
> >>
> >>
> >>
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> dev-unsubscribe@struts.apache.org
> >> For additional commands, e-mail:
> dev-help@struts.apache.org
> >>
> >>
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> dev-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context:
>
http://www.nabble.com/Struts-2.0.11-localization-issue-tf4913375.html#a14128228
> Sent from the Struts - Dev mailing list archive at
> Nabble.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> dev-help@struts.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message