1## Build 2 3m CustomLocale 4 5## Install 6 7### New install 8 9```shell 10adb root && adb remount && adb reboot 11adb wait-for-device && adb root && adb remount 12 13APP_PATH="/system/priv-app/CustomLocale/" 14adb shell mkdir ${APP_PATH} || true 15adb push ${OUT}${APP_PATH} ${APP_PATH} 16adb reboot 17``` 18 19### Reinstall 20 21```shell 22APP_PATH="/system/priv-app/CustomLocale/" 23adb install -r ${OUT}${APP_PATH} ${APP_PATH} 24``` 25 26 27## How to use 28 29Just launch the activity, or use following ADB command. 30 31```shell 32adb shell am broadcast -a com.android.intent.action.SET_LOCALE \ 33 --es com.android.intent.extra.LOCALE ${TARGET_LOCALE} com.android.customlocale2 34``` 35 36`${TARGET_LOCALE}` can be either 2 chars (e.g. `en`, `iw`) 37or 5 chars (e.g. `en_US`, `iw_IL`) 38