On 5/11/06, Igor Vaynberg
<[EMAIL PROTECTED]> wrote:
no, the default locale is used when we cannot figure out what the user's local is afaik. since the browser is sending a locale that will be used.
-IgorOn 5/11/06, Bruno Borges <[EMAIL PROTECTED]> wrote:Shouldn't these calls override any locale the user is sending at the request (from the browser)?
getApplicationSettings().setDefaultLocale(new Locale("pt", "BR"));
getResourceSettings().setDefaultLocale(new Locale("pt", "BR"));
I still get english messages, that comes from Application.properties. My tought was that, overriding the default locale, I would get portuguese messages.
Regards
--
Bruno Borges
[EMAIL PROTECTED]
Sun Certified Java Programmer for 1.4
Sun Certified Web Component Developer for 1.4
--
Bruno Borges
[EMAIL PROTECTED]
Sun Certified Java Programmer for 1.4
Sun Certified Web Component Developer for 1.4
