Thanks, Igor, it worked. Regards,
Andrew Schetinin On Fri, Oct 28, 2011 at 10:45 PM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote: > you are right. i was looking in 1.5 where we have exposed the locale. > > for the time being you can simply do this: > Locale old=session.getlocale(); > session.setlocale(foo); > localizer.get(..); > session.setlocale(old); > > -igor > > > On Fri, Oct 28, 2011 at 1:22 PM, Andrew Schetinin <ascheti...@gmail.com> > wrote: > > Hi Igor, > > > > But as I said, this method is deprecated and ignores Locale parameter: > > > > @Deprecated > > public String getString(final String key, final Component component, > > final IModel<?> model, > > final Locale locale, final String style, final String > defaultValue) > > throws MissingResourceException > > { > > return getString(key, component, model, defaultValue); > > } > > > > Or am I looking in a wrong place? > > > > Regards, > > > > Andrew > > >