if no matches are made the user should fall back to page.html and page.properties. so put your default locale into those files instead of specific locales.
otherwise you can call session.setlocale() to force it. -igor On Tue, Feb 1, 2011 at 11:36 AM, planime <planime...@mailforspam.com> wrote: > > In project i have several *.properties files for custom locale (page_en_GB > and page_ru_RU).When user with default locale en US come, hes got exception. > Can I do that if a suitable location has not been found to use my custom > locale ? > I try to use Locale.setDafault(...), but it doesnt work. > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Set-default-locale-when-suitable-locale-not-found-tp3252800p3252800.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