apply Locales
Applies all possible locales in the chain, until block returns a non-null value and returns this value.
Returns null if there are no more possible locales.
This function can be used in cases when different locales should be tried to compute the chain of locales that should be tried.
Parameters
locale To Start
Start locale to check. If null de.comahe.i18n4k.config.I18n4kConfig.locale in i18n4k is used.