Is there any multiplatform library for strings localization?
I mean something like:
Copy code
object Strings : LocalizedStrings {
val hello by string(default = "Hello") {
val ru by value("Привет")
val ua by value("Прівіт")
}
}
fun main() {
Strings.locale = "ru" // This should be also built in library with different realizations on each platform
println(Strings.hello)
}
Also would be nice to provide mutable state for compose, observable value for kvision, etc.
y9san9
06/15/2021, 8:30 PM
If there is no, I will make the one, since I need such a library already 3rd time or more.