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
这篇关于安卓应用支持多种语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:安卓应用支持多种语言
基础教程推荐
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01