Interface LocaleService
-
- All Known Implementing Classes:
LocaleServiceImpl
public interface LocaleServiceService for Locales and languages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDefaultLanguage()LocalegetDefaultLocale()List<String>getSupportedLanguages()List<Locale>getSupportedLocales()
-
-
-
Method Detail
-
getDefaultLanguage
String getDefaultLanguage()
- Returns:
- default language of content managed in cudami (ISO-2-code, e.g. "de", "en")
-
getDefaultLocale
Locale getDefaultLocale()
- Returns:
- default locale of content managed in cudami
-
getSupportedLanguages
List<String> getSupportedLanguages()
- Returns:
- list of all languages supported by cudami
-
-