A Type Safe Kotlin Multiplatform Locale implementation for your Android App, iOS / Mac App & JVM Backend.
Android |
iOS |
JVM |
---|---|---|
From Kotlin Multiplatform:
kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation("com.vanniktech:multiplatform-locale:0.7.0")
}
}
}
}
From Android / JVM Multiplatform:
dependencies {
implementation("com.vanniktech:multiplatform-locale:0.7.0")
}
From iOS:
pod 'MultiplatformLocale', :git => 'https://github.com/vanniktech/multiplatform-locale', :tag => "0.7.0"
Use com.vanniktech.locale.Locales
, com.vanniktech.locale.Country
, com.vanniktech.locale.Language
& com.vanniktech.locale.Locale
directly in your platform specific code:
Copyright (C) 2022 - Niklas Baudy
Licensed under the Apache License, Version 2.0