Class LanguageSupport
java.lang.Object
org.rumbledb.runtime.functions.util.formatting.language.LanguageSupport
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringeffectiveLanguageOf(String normalizedLanguage) Returns the normalized language if ICU supports it, otherwise the default.static StringnormalizeLanguage(String language) static com.ibm.icu.util.ULocaleresolveEffectiveULocale(String language) Normalizes, applies the ICU-support fallback, and resolves to a ULocale, cached by language string.static LocaleresolveLocale(String language)
-
Field Details
-
DEFAULT_LANGUAGE
- See Also:
-
-
Method Details
-
resolveEffectiveULocale
Normalizes, applies the ICU-support fallback, and resolves to a ULocale, cached by language string. -
normalizeLanguage
-
effectiveLanguageOf
Returns the normalized language if ICU supports it, otherwise the default. -
resolveLocale
-