How to create a custom language pack for android?

一个人想着一个人 提交于 2019-12-19 02:54:12

问题


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.

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?

Any help would be appriciated :)

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


回答1:


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.

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.



来源:https://stackoverflow.com/questions/4678169/how-to-create-a-custom-language-pack-for-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!