本文介绍了Android应用程序支持多国语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我要上传我的Andr​​oid应用程序是支持多语言的目标,我必须上传多个.apks,每一个设计的语言,我想支持,还是我实现这一切到一个.apk文件的文件?

If I want to upload my Android app with an aim of supporting multiple languages, do I have to upload multiple .apks, each designed for the language I would like to support, or do I implement it all into one .apk file?

注意的:我的应用程序是一个游戏,并没有真正不包含在用户界面中的任何字符串。用户界面是用Photoshop制作,例如,使用文字等的按钮。

Note: My app is a game and does not really not contain any Strings in the UI. The UI was made using Photoshop, eg the buttons with text and so on.

如果我包所有语言到一个的.apk文件,我怎么检查的语言的应用程序应该使用?

If I pack all the languages into one .apk file, how do I check which language the app should use?

更新:

我的所有图像都存储在我的项目的资产文件夹。我将如何定位呢?

All my images are stored in the assets folder of my project. How would I localize them?

推荐答案

没有,你并不需要创建多个APK,只需用本地化单APK,看到这的这 http://developer.android.com/guide/topics/resources/localization html的

No, you don't need to create multiple APKs, just single APK with Localization, see this http://developer.android.com/training/basics/supporting-devices/languages.htmland this http://developer.android.com/guide/topics/resources/localization.html

这篇关于Android应用程序支持多国语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-04 15:18