object ResourceBundleInspiredLocaleOrderDecider : LocaleOrderDecider
(source)
Responsible to determine in which order Locales should be processed.
Inspired by Java's ResourceBundle.Control.getCandidateLocales()
and ResourceBundle.Control.getFallbackLocale()
but there are a few differences:
java.util.java
java.util.Locale.ROOT
Further information can be found at LocaleOrderDecider.
fun determineOrder(primaryLocale: Locale, fallbackLocales: List<Locale>): Sequence<Locale>
Defines the Sequence of Locales which should be used in Translator.translate. |