We plan to create our own mobile applications to complement our website, which is written in java . Our website currently supports multiple languages, and currently we have all translations stored in standard java property files.
What is the best approach to reusing these translations in native
android and ios applications?
- It seems that Android supports
ResourceBundles in the same way as on the server side of java, but this does not look like the standard way of handling transfers to android. Android seems to use the string.xml file. Are there any drawbacks to directly using ResourceBundles and their corresponding property files in Android, or is it preferable to write a converter that converts java property files to Android string.xml files? Or are there existing converter programs that do such a conversion? - Is there a converter that translates java
ResourceBundles to iOS string files? - Is there a way to store translations in a common format that does not require converting converters between the three platforms?
source share