I'm simply using a text-tag like this one on my JSP:

<s:text name="homepage.headline" />

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 takes it. Whatever language is prefered by the
browser.

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....@gmx.de> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/s2-and-default-locale-language-tp24623075p24625622.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to