Re: Regarding Loacale

2008-06-23 Thread Igor Vaynberg
no. session also has setlocale(locale) so you can call that on every request if you wanted to... -igor On Mon, Jun 23, 2008 at 3:39 AM, Wilhelmsen Tor Iver <[EMAIL PROTECTED]> wrote: >> When I, on the fly, change the language to something else >> (de_CH), the Locale in my application is not chang

Re: Regarding Loacale

2008-06-23 Thread Wilhelmsen Tor Iver
> When I, on the fly, change the language to something else > (de_CH), the Locale in my application is not changed. Looking at Wicket 1.3 and 1.4 sources, the locale is picked up in the Session constructor, so presumably you need to nuke the Wicket session or let it expire before trying a new loc

Re: Regarding Loacale

2008-06-19 Thread Eyal Golan
OK thanks, i found it :) But now I have something else that is not working. When I start my application after I set the language to fr_CH for example, then the Locale is really fr_CH. When I, on the fly, change the language to something else (de_CH), the Locale in my application is not changed. Ma

Re: Regarding Loacale

2008-06-19 Thread Meindert Deen
To setup the locale in your brower: In FF (v2) use: (menu)Edit->(option)Preferences->(tab)Advanced->(Area)Languages->(button)Choose In IE (v7) use: Internet Options->(button) Languages On Thu, Jun 19, 2008 at 10:16 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > I checked in IE7 and FF as well. > Co

Re: Regarding Loacale

2008-06-19 Thread Eyal Golan
I checked in IE7 and FF as well. Couldn't find anything. What I DID find is that I reach to Session.getLocale(). So, Is there a way to configure our Session to return the Locale from the system? thanks On Thu, Jun 19, 2008 at 10:34 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > Isn't the bro

Re: Regarding Loacale

2008-06-19 Thread Maurice Marrink
Isn't the browser sending out a locale different from the os locale? Check your browser it should have some options for a preferred language or locale. Maurice On Thu, Jun 19, 2008 at 9:02 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > Hi, > I want to show my team mates the greatness of using wicket

Regarding Loacale

2008-06-19 Thread Eyal Golan
Hi, I want to show my team mates the greatness of using wicket localization feature. We are working on Microsoft Windows XP. I put a System.out.println(getLocale()); in one of my components. I have changed in my computer from EN to FR (for example). But the print is always en_US. I know it's not a