fluid-i18n

Internationalization data used by fluid-i18n

License

License

Categories

Categories

Data
GroupId

GroupId

io.fluidsonic.i18n
ArtifactId

ArtifactId

fluid-i18n-data-tvosarm64
Last Version

Last Version

0.9.0
Release Date

Release Date

Type

Type

pom
Description

Description

fluid-i18n
Internationalization data used by fluid-i18n
Project URL

Project URL

https://github.com/fluidsonic/fluid-i18n
Source Code Management

Source Code Management

https://github.com/fluidsonic/fluid-i18n

Download fluid-i18n-data-tvosarm64

How to add to project

<!-- https://jarcasting.com/artifacts/io.fluidsonic.i18n/fluid-i18n-data-tvosarm64/ -->
<dependency>
    <groupId>io.fluidsonic.i18n</groupId>
    <artifactId>fluid-i18n-data-tvosarm64</artifactId>
    <version>0.9.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.fluidsonic.i18n/fluid-i18n-data-tvosarm64/
implementation 'io.fluidsonic.i18n:fluid-i18n-data-tvosarm64:0.9.0'
// https://jarcasting.com/artifacts/io.fluidsonic.i18n/fluid-i18n-data-tvosarm64/
implementation ("io.fluidsonic.i18n:fluid-i18n-data-tvosarm64:0.9.0")
'io.fluidsonic.i18n:fluid-i18n-data-tvosarm64:pom:0.9.0'
<dependency org="io.fluidsonic.i18n" name="fluid-i18n-data-tvosarm64" rev="0.9.0">
  <artifact name="fluid-i18n-data-tvosarm64" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.fluidsonic.i18n', module='fluid-i18n-data-tvosarm64', version='0.9.0')
)
libraryDependencies += "io.fluidsonic.i18n" % "fluid-i18n-data-tvosarm64" % "0.9.0"
[io.fluidsonic.i18n/fluid-i18n-data-tvosarm64 "0.9.0"]

Dependencies

compile (2)

Group / Artifact Type Version
io.fluidsonic.locale : fluid-locale-tvosarm64 jar 0.9.2
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.4.0

Project Modules

There are no modules declared in this project.

fluid-i18n

Maven Central JCenter 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.9.2")
}

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

Versions

Version
0.9.0