toString

open override fun toString(): String

Returns the string value based on the currently set Locale in de.comahe.i18n4k.i18n4k (de.comahe.i18n4k.config.I18n4kConfig.locale)

Also, less specific locales and the default locale were used to find a string value if no value is available for the given locale.


open override fun toString(locale: Locale?): String

Returns the string value based on the given Locale.

Also, less specific locales and the default locale were used to find a string value if no value is available for the given locale.

Parameters

locale

the Locale to be use. If null the current setting in i18n4k (I18n4kConfig.locale) will be used.