Just override getLocale in your component and use one of non-deprecated Localizer methods.
2009/11/27 Gatos <[email protected]> > Hello, > > For example I need to localize a string to defferent languages. > > How is it possible to localize using a custom locale? > > I found that a method in Localizer class, but it's deprecated: > public String getString(final String key, final Component component, final > IModel model, final Locale locale, final String style, final String > defaultValue) > > > Thank you. >
