Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

S2 i18n wrong locale selection!

Igor Vlasov

2008-07-02


Author LoginPost Reply

Hello, I did a sample s2 page with multilanguage.

I did sample.properties for action for [default,en,ru,es,de]
I have default language=ru for server.

Then I change "accept-language" to [az|en] in FF browser.

============================================

When i enter the page with <s:text name="hello" /> it shows "Привет" in
russian ( It is because systemLanguage=ru IMHO)

BUT i think that i must recieve "hello english" in inglish because I have
accept-language=en.

Am I right?





--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.