public interface Localizable<T extends Localizable<T>>
localize(org.springframework.context.MessageSource,
java.util.Locale)
method which returns a localized instance of the class.T localize(org.springframework.context.MessageSource messageSource, Locale locale)
Locale
.messageSource
- the message source which translates the i18n codes for the localizationlocale
- the specified locale in which the i18n codes are translatedCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.