我怎样才能修改Android的默认语言环境?语言、环境、Android

2023-09-07 11:58:29 作者:作业是个不可数名词

在默认情况下,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 ),改区域设置的默认值。但没有效果。

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 您要设置什么。