https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

robstoll

08/28/2019, 2:19 PM
is there a MPP internationalization library? something like gettext maybe? If not, who would fancy to help implementing it as open source library?
1
l

louiscad

08/28/2019, 3:07 PM
I can help because I'm interested in it.
a

alex009

08/28/2019, 3:39 PM
hi 🙂 for mobile development (ios & android) we implement this lib - https://github.com/icerockdev/moko-resources on this or next week we add english readme, full sample and next add gradle plugin to generate MR expect/actual class from some universal xmls
r

robstoll

08/28/2019, 4:48 PM
Does it also support localization?
Any plans to support JS as well?
a

alex009

08/29/2019, 12:38 PM
yes, it support localization (i add sample today), localization based on mobile OS logic (by android localization resources & ios). we have not js in plan. but if you add this support - it be cool 🙂
r

robstoll

08/29/2019, 3:36 PM
Where can I find the example? (I don't see it in the Readme)
a

alex009

08/29/2019, 3:53 PM
in sample directory. for now readme not updated, later it will be improved and i notify about in in this thread
👍 1
@robstoll @louiscad hello! i update readme, also we add gradle-plugin to automatically generation of resources from commonMain resources. here you can see samples & guide https://github.com/icerockdev/moko-resources
10 Views