I am developing desktop app by using the compose, ...
# compose-desktop
p
I am developing desktop app by using the compose, any one have idea how to do localization for desktop? Just like have in string.xml file in Android. Please share any demo if have it. thank you in advance!
a
You can look into using moko resources. They have sample there as well. https://github.com/icerockdev/moko-resources
m
Java has its own localization infrastructure you can use. Moko stuff is useful if you want to share code/resources with Android.
m
If you decide to use the Java localization infrastructure you can use that on Android as well. No need to switch to another framework just for Android.