Package com.enonic.xp.i18n
Interface LocaleService
-
public interface LocaleService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageBundlegetBundle(ApplicationKey applicationKey, Locale locale)MessageBundlegetBundle(ApplicationKey applicationKey, Locale locale, String... bundleNames)Set<Locale>getLocales(ApplicationKey applicationKey, String... bundleNames)LocalegetSupportedLocale(List<Locale> preferredLocales, ApplicationKey applicationKey, String... bundleNames)
-
-
-
Method Detail
-
getBundle
MessageBundle getBundle(ApplicationKey applicationKey, Locale locale)
-
getBundle
MessageBundle getBundle(ApplicationKey applicationKey, Locale locale, String... bundleNames)
-
getLocales
Set<Locale> getLocales(ApplicationKey applicationKey, String... bundleNames)
-
getSupportedLocale
Locale getSupportedLocale(List<Locale> preferredLocales, ApplicationKey applicationKey, String... bundleNames)
-
-