Do android support multiple languages?

2019-01-09 07:20发布

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?

2条回答
成全新的幸福
2楼-- · 2019-01-09 07:35

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.

查看更多
聊天终结者
3楼-- · 2019-01-09 07:49

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.

查看更多
登录 后发表回答