安卓应用支持多种语言

Android app support multiple languages(安卓应用支持多种语言)

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

问题描述

如果我想上传我的 Android 应用以支持多种语言,我是否必须上传多个 .apk,每个都针对我想要支持的语言设计,或者我是否将它们全部实现到一个 .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?

注意:我的应用是一个游戏,在 UI 中实际上并不包含任何字符串.UI 是使用 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?

更新:

我所有的图像都存储在我项目的 assets 文件夹中.我将如何本地化它们?

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

推荐答案

不,您不需要创建多个 APK,只需单个 APK 与 Localization,请参阅此 http://developer.android.com/training/basics/supporting-devices/languages.html而这个 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.html and this http://developer.android.com/guide/topics/resources/localization.html

这篇关于安卓应用支持多种语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:安卓应用支持多种语言

基础教程推荐