commonMain.de.comahe.i18n4k.init.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of i18n4k-cldr-plural-rules-jvm Show documentation
Show all versions of i18n4k-cldr-plural-rules-jvm 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
import de.comahe.i18n4k.messages.formatter.MessageFormatterDefault
import de.comahe.i18n4k.messages.formatter.MessagePluralCardinalFormatter
import de.comahe.i18n4k.messages.formatter.MessagePluralOrdinalFormatter
fun i18n4kInitCldrPluralRules() {
MessageFormatterDefault.registerMessageValueFormatters(
MessagePluralCardinalFormatter,
MessagePluralOrdinalFormatter
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy