I18nConfiguration

The configuration for the internationalization feature.

supportedLocales represents the supported locales for the application, this list is used in the resolution of the current locale. must be initialized and not empty.

defaultLocale. Used as a fallback when the request locale is not supported. Defaults to the first locale in supportedLocales.

translateUseCase instance of ITranslateUseCase used in message resolution. Defaults to TranslateFromPropertiesUseCase.

useOfCookie Whether to use cookie or not to resolve Locale A sensible naming of the cookie

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
var defaultLocale: <Error class: unknown class>?
Link copied to clipboard
lateinit var supportedLocales: List<<Error class: unknown class>>
Link copied to clipboard
var translateUseCase: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard