Replies: 1 comment
-
xml was used because it can be reused from android and it simple to read. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a reason why XML was chosen as the format to declare common string sets?
Before I started using moko-resource, I had this in-house localization system to localize strings. I soon gave this up in favor of
moko-resources
. However, I quite liked the format I came up withIt would be awesome if moko-resource can parse this definition and generate platform-specific language files like
One obvious advantage over XML here is the type safety for arguments. Apart from that it is really just kotlin suger
Beta Was this translation helpful? Give feedback.
All reactions