rk3328 android10 默认中文

在build/make目录下

diff --git a/core/main.mk b/core/main.mk
index bf3e52d..93f02b3 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -381,6 +381,8 @@ ADDITIONAL_BUILD_PROPERTIES += net.bt.name=Android
 
 #add by haidern
 ADDITIONAL_BUILD_PROPERTIES += persist.sys.timezone=Asia/Shanghai
+ADDITIONAL_BUILD_PROPERTIES += persist.sys.language=zh
+ADDITIONAL_BUILD_PROPERTIES += persist.sys.country=CN
 # ------------------------------------------------------------
 # Define a function that, given a list of module tags, returns
 # non-empty if that module should be installed in /system.
diff --git a/target/product/full_base.mk b/target/product/full_base.mk
old mode 100644
new mode 100755
index 447576c..4afed05
--- a/target/product/full_base.mk
+++ b/target/product/full_base.mk
@@ -47,7 +47,7 @@ PRODUCT_PROPERTY_OVERRIDES := \
     ro.config.notification_sound=pixiedust.ogg
 
 # Put en_US first in the list, so make it default.
-PRODUCT_LOCALES := en_US
+PRODUCT_LOCALES := zh_CN en_US
 
 # Get some sounds
 $(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
diff --git a/target/product/languages_default.mk b/target/product/languages_default.mk
old mode 100644
new mode 100755
index a13a23c..44e87b0
--- a/target/product/languages_default.mk
+++ b/target/product/languages_default.mk
@@ -17,7 +17,8 @@
 # This is a build configuration that just contains a list of languages, with
 # en_US set as the default language.
 PRODUCT_LOCALES := \
-        en_US \
+        zh_CN \
+	en_US \
         af_ZA \
         am_ET \
         ar_EG \
@@ -99,7 +100,6 @@ PRODUCT_LOCALES := \
         ur_PK \
         uz_UZ \
         vi_VN \
-        zh_CN \
         zh_HK \
         zh_TW \
         zu_ZA \

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值