我怎样才能修改Android的默认语言环境? [英] How can I modify the default locale in android?

查看:481
本文介绍了我怎样才能修改Android的默认语言环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在默认情况下,Android系统的默认位置是美国和语言为en。 但我想设置的默认位置到其他国家。因此,用户将看到他们的母语时,在第一时间启动机器人。

By default,the android system's default location is US and language is en. But I want to set the default location to an other country. So, the users will see their mother language when the first time start up android.

我试图修改code(/dalvik/libcore/luni/src/main/java/java/util/Locale.java <$ C C $>),改区域设置的默认值。但没有效果。

I have tried to modify the code(/dalvik/libcore/luni/src/main/java/java/util/Locale.java), changed the locale's default value. But no effect.

你能告诉我如何设置默认位置?

Can you tell me how to set the default location?

*我想打一个机器人的图像,然后将其刻录到装置,当机器人启动第一次,我想它的操作系统的语言不是英语,但其他语言。

*I want to make an android image, then burn it to device, when the android start up the first time, I want it's os language is not english but other language.

推荐答案

感谢所有您回复。

我已经找到更改默认语言的方法。

i have found the method to change the default language.

只需修改文件(建/核心/ Makefile文件)

设置 PRODUCT_DEFAULT_LANGUAGE PRODUCT_DEFAULT_REGION 您要设置什么。

这篇关于我怎样才能修改Android的默认语言环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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