安卓应用支持多种语言

2023-11-09移动开发问题
2

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

问题描述

如果我想上传我的 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

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

The End

相关推荐

从 Documents 目录存储和读取文件 iOS 5
Storing and reading files from Documents directory iOS 5(从 Documents 目录存储和读取文件 iOS 5)...
2024-08-12 移动开发问题
9

如何在使用 cocos2d 的 iphone 应用程序中使用 MYSQL 数据库连接?
How can i use MYSQL database connection in iphone application useing cocos2d?(如何在使用 cocos2d 的 iphone 应用程序中使用 MYSQL 数据库连接?)...
2024-08-12 移动开发问题
5

在 cocos2d 中平滑拖动一个 Sprite - iPhone
Smoothly drag a Sprite in cocos2d - iPhone(在 cocos2d 中平滑拖动一个 Sprite - iPhone)...
2024-08-12 移动开发问题
10

CCScrollView 滚动和触摸事件永远不会触发
CCScrollView scroll and touch events never firing(CCScrollView 滚动和触摸事件永远不会触发)...
2024-08-12 移动开发问题
1

使用 OpenGLES 的抗锯齿去除绳索的锯齿状边缘
removing jagged edges of my ropes using antialiasing of OpenGLES(使用 OpenGLES 的抗锯齿去除绳索的锯齿状边缘)...
2024-08-12 移动开发问题
34

cocos2d 在场景之间移动
cocos2d Moving between scene(cocos2d 在场景之间移动)...
2024-08-12 移动开发问题
2