Changing Locale in Android Emulator [duplicate]

南楼画角 提交于 2019-12-04 02:56:48

No Need to change local, just long press on the EditText widget, on the popup menu select input method, and change to the android keyboard.

I am using the emulator with Android 4.2 + 4.3 and there is an app to set the locale called "Custom Locale".

Start emulator -> Launcher -> Custom Locale
=> Select the desired language from the list
=> Confirm with e.g "Select 'de_DE'"

My solution is to use preinstalled on android emulator "Custom locale" application. Simply send intent with extra language parameter to it as below:

adb shell am broadcast -a com.android.intent.action.SET_LOCALE --es com.android.intent.extra.LOCALE EN

More information here - prepare android emulator for UI test automation.

I'm using 2.3.3, but it should be similar:

Start emulator -> Launcher -> Settings -> Language & keyboard -> Select language

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!