On Fri, Dec 2, 2011 at 2:09 PM, cosmindumy <[email protected]> wrote:
>
>> When I enter first time on page I change my local to de-De.
>
> A better place to do that is in Application.newSession(). Or you can tell
> your browser to prefer de_DE and let Wicket pick up using Accept-Language:
> header (IIRC it does that for you).
>
> This is not a good ideea  as I have more modules in my application. And I do
> not want to set this locale for the whole application. Only when it acces
> this page I want to change the locale. Do you have any other ideea?
> Thanks.

The constructor of the page is executed before the page is rendered,
How do you set the locale ? Where exactly ? What resource bundles you have ?

>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/message-internationalization-tp4146241p4146853.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to