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 str...@yahoogroups.com, Marsman <mars....@...> 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. > > > Titus > > > > Pascal-53 wrote: > > > > Hm, ok. Could you post your resource bundle initialization/usage? > > > > Pascal > > > > On Thu, 23 Jul 2009 04:18:50 -0700 (PDT), Marsman <mars....@...> 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 an the browser and addad da-Dk to test my Struts configuration. > >> > >> Titus > >> > >> > >> > >> Pascal-53 wrote: > >>> > >>> 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 <mars....@...> > >>> wrote: > >>>> Hi! > >>> > >>> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@... > > For additional commands, e-mail: user-h...@... > > > > > > > > -- > View this message in context: > http://www.nabble.com/s2-and-default-locale-language-tp24623075p24642168.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@... > For additional commands, e-mail: user-h...@... > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org