如何删除android setting语言列表中多余的语言(只要中文和英文)

1、如题,如何删除android4.0中设置里面选择手机语言中的多余语言,只留下中文和英文即可。
2、先谢谢咯!

1.在android源文件/packages/apps/Settings/src/com/android/settings/inputmethod
/InputMethodAndSubtypeEnabler.java
public class InputMethodAndSubtypeEnabler extends SettingsPreferenceFragment {
final PreferenceCategory activeInputMethodsCategory = new PreferenceCategory(context);
activeInputMethodsCategory.setTitle(R.string.active_input_method_subtypes);
//注释掉此行root.addPreference(activeInputMethodsCategory);
..........
...........

2.public class InputMethodAndSubtypeEnabler extends SettingsPreferenceFragment {
}
}
Collections.sort(subtypePreferences);
+ //for (int j = 0; j < subtypePreferences.size(); ++j) {
+ //activeInputMethodsCategory.addPreference(subtypePreferences.get(j));
+ //}
//注释掉以上三行行
mInputMethodAndSubtypePrefsMap.put(imiId, subtypePreferences);
}
if (isAutoSubtype) {
3.在文件/vendor/intel/products/mfld_dv10.mk
PRODUCT_PACKAGES += \
libSh3aParamsLiteOn8M
# product dpi config
//注释掉此行PRODUCT_LOCALES += mdpi
//添加此行PRODUCT_AAPT_CONFIG := mdpi
//添加此行# Language config
//添加此行PRODUCT_LOCALES := en_US zh_CN

# video encoder and camera
PRODUCT_PACKAGES += \
温馨提示:答案为网友推荐,仅供参考
第1个回答  2015-08-27
你好,需要手机获取root权限后,用固件管家对多于的语言包删除,有可能会引起系统其他应用读取问题,因为缺少字库支持而崩溃。
第2个回答  推荐于2016-04-14
这个在手机里是不能设置的,要android开发人员在整个系统编译里修改make编译的配置文件。对于MTK平台而言,是修改 ***.mk 中的PRODUCT_LOCALES项为: zh_CN 和 zh_TW。当然如果想默认是哪种一种语言、时区等都是可以的。本回答被提问者采纳
第3个回答  2015-09-04
1,启动您的计算机
2,下载软件NotePad++
3,按照教程http://jingyan.baidu.com/article/25648fc1dea8cd9191fd009b.html
4,完成
相似回答