Versió
3.5-1759
Branca
master
Data
Fa 11 anys, 2 mesos
Windows x64 Windows x86 Mac OS X Android
Contribució
b823983199e6cb09fb2f0335f49b90ba0ca95bd3
Autor del canvi
Lioncash
Descripció del canvi
[Android] Multi-language support (or at least the basic foundation of it).

Added an example translation (Japanese). So now the Android version can both display in English and Japanese, depending on what the Android device's system language is set to.

Also did a tiny clean-up of InputConfigItem.java so that the parameters are slightly more descriptive.

Now, to do a translation in [x] language, all you have to do is take the normal English strings.xml and translate the XML entries into said language, and simply make a folder in the /res/ sub-directory in the form of values-[region code]. IE) With the Japanese translation, it is in the folder /res/values-ja

No configuration other than that is needed. After doing the above, the language should load fine on any device when set to that specific system language.

By default, if a translation file does not exist for a given system language. The app will automatically fall back to using the English translation.

This *should* be bug-free since I did check everything multiple times. But if any issues occur, please report them so that I can fix them.