Socket
Socket
Sign inDemoInstall

io.fluidsonic.i18n:fluid-i18n-data-regions-watchossimulatorarm64

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.fluidsonic.i18n:fluid-i18n-data-regions-watchossimulatorarm64

Internationalization data used by fluid-i18n


Version published
Maintainers
1
Source

fluid-i18n

Maven Central Tests Kotlin #fluid-libraries Slack Channel

Kotlin multiplatform internationalization support backed by Unicode CLDR data.
Highly experimental. Feel free to contribute!

Installation

build.gradle.kts:

dependencies {
	implementation("io.fluidsonic.i18n:fluid-i18n:0.13.0")
}

Usage

Country names

val usa = Country.byCode("US")
println(usa.name) // United States
println(usa.shortName) // US
println(usa.variantName) // null

val locale = Locale.forLanguage("de")
println(usa.name(locale)) // Vereinigte Staaten
println(usa.shortName(locale)) // USA
println(usa.variantName(locale)) // null

val ivoryCoast = Country.forCode("CI")
println(usa.name) // Côte d’Ivoire
println(usa.shortName) // null
println(usa.variantName) // Ivory Coast

Building

Build generated Kotlin files for Unicode CLDR data:

./gradlew generateCode   # macOS
gradlew generateCode     # Windows

License

Apache 2.0

FAQs

Package last updated on 24 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc