How can I modify the default locale in android?

thanks for all you reply.

i have found the method to change the default language.

just modify the file(build/core/Makefile).

set PRODUCT_DEFAULT_LANGUAGE and PRODUCT_DEFAULT_REGION to what you want to set.


I make customer build via build/target/product/core.mk
Samples:

PRODUCT_PROPERTY_OVERRIDES := \
    ro.config.notification_sound=OnTheHunt.ogg \
    ro.config.alarm_alert=Alarm_Classic.ogg \
    ro.config.ringtone=BirdLoop.ogg \
    persist.sys.language=zh \
    persist.sys.country=CN \
    persist.sys.timezone=Asia/Shanghai

This is what i do to make a simplified-chinese customer build.