Is there any multiplatform library for strings loc...
# announcements
y
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.
If there is no, I will make the one, since I need such a library already 3rd time or more.
t
I came across Lyricist here but haven't had a go at it myself yet. https://github.com/adrielcafe/lyricist
y
Thanks a lot, I will take a few features from it :) Sadly it uses annotation processor when it is not required.