How properly set locale on application startup

2013-07-23 Thread meduolis
Hi, 

I try to set locale for my custom session on application newSession method
like this:



When application start I get my pages localized in EN language, not in XX.

What am I doing wrong here? Please help :)



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-properly-set-locale-on-application-startup-tp4660439.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How properly set locale on application startup

2013-07-23 Thread Paul Bors
Maybe you don't have the language pack for the locale you set hence Wicket
defaults to the english langauge pack?

Get yourself familiar with Chapter 12 Internationalization with Wicket of
the Wicket Free Guide
http://wicket.apache.org/learn/books/freeguide.html



-
~ Thank you,
p...@bors.ws
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-properly-set-locale-on-application-startup-tp4660439p4660441.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How properly set locale on application startup

2013-07-23 Thread meduolis
Thanks for reply, it was my browser cache :). Thanks anyway.

The code I mentioned above works as expected.
Issue solved.

Thank you



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-properly-set-locale-on-application-startup-tp4660439p4660443.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: How properly set locale on application startup

2013-07-23 Thread Paul Bors
When in doubt... clear your cache :)

~ Thank you,
  Paul Bors

-Original Message-
From: meduolis [mailto:meduol...@gmail.com] 
Sent: Tuesday, July 23, 2013 4:14 PM
To: users@wicket.apache.org
Subject: Re: How properly set locale on application startup

Thanks for reply, it was my browser cache :). Thanks anyway.

The code I mentioned above works as expected.
Issue solved.

Thank you



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-properly-set-locale-on-applic
ation-startup-tp4660439p4660443.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org