commonMain.de.comahe.i18n4k.strings.SimpleLocalizedString.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of i18n4k-core Show documentation
Show all versions of i18n4k-core Show documentation
i18n4k is a multiplatform (JVM, JS, native) library and code generator for Kotlin to handle internationalisation (i18n) in your program.
package de.comahe.i18n4k.strings
import de.comahe.i18n4k.Locale
/** [LocalizedString] that always return the same [value] in [toString] */
class SimpleLocalizedString(private val value: Any) : LocalizedString {
override fun toString(): String = value.toString()
override fun toString(locale: Locale?) = value.toString()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy