public class I18nKt
| Modifier and Type | Method and Description |
|---|---|
static java.util.ResourceBundle |
getEmptyResourceBundle() |
static kotlin.jvm.functions.Function1<java.util.Locale,eu.vaadinonkotlin.I18n> |
getI18nProvider(boolean production)
Returns a provider which provides instances of
class I18n. On debugging,
the provider will always create new instance which allows for hot-redeployment
of the i18n bundles. For production, the class I18n instances are cached
so that the key lookup is very quick. |
public static java.util.ResourceBundle getEmptyResourceBundle()
public static kotlin.jvm.functions.Function1<java.util.Locale,eu.vaadinonkotlin.I18n> getI18nProvider(boolean production)
Returns a provider which provides instances of class I18n. On debugging,
the provider will always create new instance which allows for hot-redeployment
of the i18n bundles. For production, the class I18n instances are cached
so that the key lookup is very quick.
class I18n,
class I18n