20230125使AIO-3568J开发板在Android12下默认为简体中文
2023/1/25 10:05
缘起:国人还是喜欢看简体中文的菜单!^_
百度搜索:rk3568 android 12 中文
CSDN:rk3568 ANDROID11 中文
1、build/make/target/product/full_base.mk
Z:\android12-rk3568-new\build\make\target\product\full_base.mk
# Additional settings used in all AOSP builds
PRODUCT_VENDOR_PROPERTIES := \
ro.config.ringtone?=Ring_Synth_04.ogg \
ro.config.notification_sound?=pixiedust.ogg
# Put en_US first in the list, so make it default.
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/full_base.mk b/target/product/full_base.mk
old mode 100644
new mode 100755
index ffd3cde..e1453c2
--- a/target/product/full_base.mk
+++ b/target/product/full_base.mk
@@ -48,7 +48,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)
2、build/make/target/product/languages_default.mk
Z:\android12-rk3568-new\build\make\target\product\languages_default.mk
#
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This is a build configuration that just contains a list of languages, with
# en_US set as the default language.
PRODUCT_LOCALES := \
zh_CN \
en_US \
af_ZA \
am_ET \
ar_EG \
ar_XB \
as_IN \
az_AZ \
be_BY \
bg_BG \
bn_BD \
bs_BA \
ca_ES \
cs_CZ \
da_DK \
de_DE \
el_GR \
en_AU \
en_CA \
en_GB \
en_IN \
en_XA \
es_ES \
es_US \
et_EE \
eu_ES \
fa_IR \
fi_FI \
fr_CA \
fr_FR \
gl_ES \
gu_IN \
hi_IN \
hr_HR \
hu_HU \
hy_AM \
in_ID \
is_IS \
it_IT \
iw_IL \
ja_JP \
ka_GE \
kk_KZ \
km_KH \
kn_IN \
ko_KR \
ky_KG \
lo_LA \
lt_LT \
lv_LV \
mk_MK \
ml_IN \
mn_MN \
mr_IN \
ms_MY \
my_MM \
nb_NO \
ne_NP \
nl_NL \
or_IN \
pa_IN \
pl_PL \
pt_BR \
pt_PT \
ro_RO \
ru_RU \
si_LK \
sk_SK \
sl_SI \
sq_AL \
sr_Latn_RS \
sr_RS \
sv_SE \
sw_TZ \
ta_IN \
te_IN \
th_TH \
tl_PH \
tr_TR \
uk_UA \
ur_PK \
uz_UZ \
vi_VN \
zh_HK \
zh_TW \
zu_ZA \
diff --git a/target/product/languages_default.mk b/target/product/languages_default.mk
index a13a23c..4046654 100644
--- 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 \
参考资料:
https://blog.csdn.net/libingxuexi/article/details/121220946
rk3568 android11 默认中文
https://blog.csdn.net/qq_35003588/article/details/106868455
RK3288 android 7.1 系统默认语言
1、vi ./build/target/product/full_base.mk
https://blog.csdn.net/u011774634/article/details/124444703
RK3399 Android7.1修改系统语言默认为中文
在build\target\product\full_base.mk中将“PRODUCT_LOCALES := en_US”修改为“PRODUCT_LOCALES := zh_CN”
【需要会员】
https://blog.csdn.net/soar999999/article/details/123218434
[RK3568 Android11] 开发之内置默认中文输入法(谷歌输入法)
https://blog.csdn.net/soar999999/article/details/118639670
[RK3568 Android11] 开发之默认系统语言和时区
https://blog.csdn.net/Industio_CSDN/article/details/126181580
触觉智能分享-RK3568 Android11修改默认输入法