The default locale is read from the user's browser preferences. If you change your settings to prefer a locale over English, it will show that language. If you'd like to hard-code the default, you should be able to do it in LocaleFilter.java.
Hi, I was trying this out when I read this thread and couldn't get it to work.
Then after a while I realized that it's not working only for the login page.
But testing the appfuse demo login page works : http://demo.appfuse.org/appfuse-spring/login?locale=zh I'm using Appfuse spring mvc 3.0 whereas the demo site is at 3.5 now.
Anyone can tell where I should start looking into this problem? I've checked through LocaleFilter and can't seem to find anything wrong.
Hi, I do know that. It's working fine in other pages AFTER login. But the login page itself shows only english.
I'm wondering if there is something specifically WIPING out the locale set by LocaleFilter.
Since it's working in 3.5 and not for 3.0, I was hoping someone who knows what was fixed in between 3.5 to make it working for Login.