doc / ch.tutteli.atrium.core / CoreFactory / newLocaleOrderDecider

newLocaleOrderDecider

abstract fun newLocaleOrderDecider(): LocaleOrderDecider (source)

Creates a LocaleOrderDecider which decides in which order Locales are processed to find a translation for a given Translatable.

Please refer to the documentation of LocaleOrderDecider to see to which extend a translator has to be compatible with ResourceBundle.

Return
The newly created Locale order decider.