LocalizedString

interface LocalizedString

For objects that change their toString method based on the set Locale in i18n4k

Inheritors

Functions

Link copied to clipboard
open operator fun invoke(): String
open operator fun invoke(locale: Locale?): String

Shortcut for toString

Link copied to clipboard
abstract override fun toString(): String

return value based on the currently set Locale in i18n4k (I18n4kConfig.locale)

abstract fun toString(locale: Locale?): String

return value based on the given Locale