struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marsman <>
Subject Re: s2 and default locale/language
Date Sat, 25 Jul 2009 10:40:23 GMT

No, I've removed this property and got the same behaviour. Even when I set
this Struts configuration property to "en_US", the german language
properties file has been taken! Only after setting Tomcat to "en_US"
everything works as aspected...

<constant name="struts.locale" value="en_US" />

Is it possible you have the locale configured in your struts.xml like this

<constant name="struts.locale" value="de_De" />

If so, you're properties files will not change based on locale.

--- In, Marsman <> wrote:
> Hi!
> meanwhile I've found something interresting: My application is running on
> Apache Tomcat. When I set the
> "-Duser.language=en -Duser.region=US" for Tomcat, Struts doesn't use de as
> default language anymore.

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message