Thanks a lot! Localizer seems to be exactly what I need :)
On Thu, Feb 26, 2015 at 5:42 PM, Tobias Soloschenko < tobiassolosche...@googlemail.com> wrote: > Oh yes! :-) Forgot to mention Localizer! > > kind regards > > Tobias > > > Am 26.02.2015 um 12:38 schrieb Sven Meier <s...@meiers.net>: > > > > 2) > > Wicket's Localizer offers several methods with locale parameter, you can > get it via component.getLocalizer(). > > > > Sven > > > >> On 26.02.2015 12:22, Maxim Solodovnik wrote: > >> Hello All, > >> > >> I have couple of questions related to localization: > >> > >> 1) is there any way to list all available locales in Application? > >> > >> let's say I have Application.properties.xml, > Application_de.properties.xml, > >> Application_ru.properties.xml, I would like to get list of Locale.EN, > >> Locale.DE, Locale.RU in such case, is it possible? > >> > >> 2) Is there any way to get string in given Locale different from > >> WebSession.locale? > >> > >> I would like to create email based on template in language of > "receiver", > >> is it possible? > >> > >> Thanks in advance! > > > > > > --------------------------------------------------------------------- > > 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 > > -- WBR Maxim aka solomax