开发者

How to use multiple languages in android

I want to give my user an option to select his language and according to his selection i want to display language. Can my android app support mul开发者_如何学Pythontiple languages. How to do that?


What you are referring to is termed Localization


You can do it under your resource folder. For example, let's say you want to have language support for France. For such cases, you can do it by creating a folder res/values-fr/strings.xml. In addition, you can have a folder called res/drawables-fr, as well.

You can check out more on these sites.
http://developer.android.com/resources/tutorials/localization/index.html http://www.icanlocalize.com/site/tutorials/android-application-localization-tutorial

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜