Do android support multiple languages?

2019-01-09 07:43发布

问题:

If i run my android application with a htc magic with locale English, I find my application running properly and if i try to run it on Motorola droid with locale korean, My application(apk) is not even installing on the device. Does android support different language? Is it is because of different language OS versions?

回答1:

Multilanguage support is easy done for android. Create a new values directory for the language with the suffix of the language code. For german: values-de or french: values-fr than copy your strings.xml into that and translate each entry. Thats all you need.



回答2:

There is the table of values to add in yours values folder. iso639-2

ex: if you like translate your app to spanish you must create a new folder in your res folder called, values-es, and copy inside string.xml file tranlated.