Simple Kotlin https://localise.biz/ API client
All Translations are in Properties format and load once
{
"en": {
"hello-world": "Hello",
"world": "World",
"my": {
"another": "Another"
}
}
}hello-world = Hello
world = World
my.another = Anotherval client = LocoClient("<API_KEY>")
val i18n = client.translations("en")
println(i18n.t("my.another"))Add https://jitpack.io/ repository
<dependency>
<groupId>com.github.npwork</groupId>
<artifactId>kotlin-localise</artifactId>
<version>-SNAPSHOT</version>
</dependency>implementation 'com.github.npwork:kotlin-localise:-SNAPSHOT'