I18n4kConfigDelegate

class I18n4kConfigDelegate(val configProvider: () -> I18n4kConfig) : I18n4kConfig

Implementation of I18n4kConfig that request the config from a provider function and delegates request to the returned value

Constructors

Link copied to clipboard
constructor(configProvider: () -> I18n4kConfig)

Properties

Link copied to clipboard
Link copied to clipboard

Provider used for declension requests

Link copied to clipboard
open override val defaultLocale: Locale

Fallback locale when a string in the currently set locale are not found

Link copied to clipboard
open override val genderProvider: GenderProvider

Provider used for gender requests

Link copied to clipboard

if true, error during parsing of messages will be ignored and the message will be printed without the invalid part.

Link copied to clipboard
open override val locale: Locale

currently set locale

Link copied to clipboard

the format of the parameters

Link copied to clipboard
open override val treadBlankStringAsNull: Boolean

if a string of a localisation is null, the default locale is used. If this flag is true, blank strings (empty of only whitespace) are also threaded as null.