Package 

Class I18nKt

    • Method Detail

      • getI18nProvider

         final Function1<Locale, I18n> getI18nProvider(Boolean production)

        Returns a provider which provides instances of I18n. On debugging, the provider will always create new instance which allows for hot-redeployment of the i18n bundles. For production, the I18n instances are cached so that the key lookup is very quick.