Re: s2 and default locale/language

2009-07-25 Thread Marsman
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... Is it possible you have the locale configured in

Re: s2 and default locale/language

2009-07-24 Thread kaphilmore
Is it possible you have the locale configured in your struts.xml like this -- If so, you're properties files will not change based on locale. --- In str...@yahoogroups.com, Marsman wrote: > > > > Hi! > > meanwhile I've found something interresting: My application is running on > Apache Tomcat

Re: s2 and default locale/language

2009-07-24 Thread Marsman
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. Titus Pascal-53 wrote: > > Hm, ok. Could you post your resource bundle initializ

Re: s2 and default locale/language

2009-07-23 Thread Marsman
I'm simply using a text-tag like this one on my JSP: The problem isn't that the message text would not be found. Also when I try the same with another language, the message bundle corresponding to this language will be taken by Struts. But as soon as I got a "de" message bundle, Struts allways

Re: s2 and default locale/language

2009-07-23 Thread Pascal
Hm, ok. Could you post your resource bundle initialization/usage? Pascal On Thu, 23 Jul 2009 04:18:50 -0700 (PDT), Marsman wrote: > I've tried the browser language detection page and as I expected only the > language code "da-DK" was listed. I had already removed the languages de-DE > and en-US

Re: s2 and default locale/language

2009-07-23 Thread Marsman
I've tried the browser language detection page and as I expected only the language code "da-DK" was listed. I had already removed the languages de-DE and en-US an the browser and addad da-Dk to test my Struts configuration. Titus Pascal-53 wrote: > > Are you sure your browser settings are cor

Re: s2 and default locale/language

2009-07-23 Thread Pascal
Are you sure your browser settings are correct? I bet it's on the client side, not a struts/config error. Try using some page to detect your language setting, like http://aruljohn.com/lang.php Hope this helps, Pascal On Thu, 23 Jul 2009 03:24:50 -0700 (PDT), Marsman wrote: > Hi! > > I got a p