ParameterisedLocalizedString

LocalizedString that can have parameters.

The parameters must be specified in the message according to the currently set MessageFormatter in i18n4k (I18n4kConfig.messageFormatter)

Constructors

Link copied to clipboard
constructor(message: Any, parameter: List<Any>)

Functions

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

Shortcut for toString

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

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

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

return value based on the given Locale