如何创建为Android定制的语言包? [英] How to create a custom language pack for android?

查看:371
本文介绍了如何创建为Android定制的语言包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了好玩,我想编辑(或添加自定义)语言包我的Andr​​oid手机。

For fun, I'd like to edit (or add a custom) language pack for my android phone.

我读了很多关于使用谷歌,但没有真正的解决办法了。

I've read a lot about it using google but no real solution.

有什么办法来实现这一目标?也许一种方式来获得在语言文件谷歌的使用和编辑,或添加新的翻译为OS?

Is there any way to achieve this? maybe a way to get in to the language files google use and edit them, or add a new translation for the OS?

任何帮助将appriciated:)

Any help would be appriciated :)

(附加信息:我运行的是Android 2.2,HTC传奇)

(additional info: I'm running android 2.2, HTC Legend)

推荐答案

不幸的是,没有这样的概念作为语言包。您也可以下载Android源(见 http://source.android.com ),并添加/修改的翻译,但你必须提交更改,以Android开源项目的开源贡献。

Unfortunately there is no such notion as "language packs." You can download the Android source (see http://source.android.com) and add/modify translations but you will have to submit your changes as an Open Source contribution to the Android Open Source Project.

译文每个应用程序进行。例如,所有的翻译浏览器的应用程序都在包/应用程序/浏览器/ RES /值-语言code。该框架翻译在框架/核心/ RES / RES /值-语言code。

The translations are done per application. For instance, all the translations for the Browser app are in packages/apps/Browser/res/values-LANGUAGECODE. The framework translations are in frameworks/core/res/res/values-LANGUAGECODE.

这篇关于如何创建为Android定制的语言包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆