commonMain.net.codinux.i18n.Extensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of k-i18n-jvm Show documentation
Show all versions of k-i18n-jvm Show documentation
Localizing language, country, unit and currency names and formatting numbers and dates for Kotlin Multiplatform with the data from Unicode CLDR project
The newest version!
package net.codinux.i18n
fun LanguageDisplayNames.getDisplayName(languageIsoCode: String, language: LanguageTag) =
LanguageDisplayNames.getDisplayName(languageIsoCode, language.tag)
fun LanguageDisplayNames.getDisplayNamesForLocale(language: LanguageTag) =
LanguageDisplayNames.getDisplayNamesForLocale(language.tag)
fun RegionDisplayNames.getDisplayName(regionCode: String, language: LanguageTag) =
RegionDisplayNames.getDisplayName(regionCode, language.tag)
fun RegionDisplayNames.getDisplayNamesForLocale(language: LanguageTag) =
RegionDisplayNames.getDisplayNamesForLocale(language.tag)
fun CurrencyDisplayNames.getDisplayName(currencyIsoCode: String, language: LanguageTag) =
CurrencyDisplayNames.getDisplayName(currencyIsoCode, language.tag)
fun CurrencyDisplayNames.getDisplayNamesForLocale(language: LanguageTag) =
CurrencyDisplayNames.getDisplayNamesForLocale(language.tag)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy