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

newLocaleOrderDecider

abstract fun newLocaleOrderDecider(): LocaleOrderDecider (source)
Deprecated: Create a new LocaleOrderDecider via the ComponentFactoryContainer, e.g. via _logic.components.build<LocaleOrderDecider>(); will be removed with 0.17.0

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 Java's ResourceBundle.

Return
The newly created Locale order decider.