I'm just starting to learn Android development. I have included a EditText component in my view and started the emulator in Eclipse.
When I type in the Textbox, the auto suggestions are coming up in Chinese language but I want to change this to English.
How do I change this Locale and Android Emulator?
I'm using the Android 2.1 for development.
Go to app list in your emulator. Start Custom Locale app. Click on “Add new locale” button and fill your locale code, for example “en_US” for english in the US.
Open the settings app in the emulator and uncheck the option with a name like Use GPS satellites . You might have to poke around a bit in the sub options to find it. If you tell us the exact android version, we can tell you where to look exactly. What do you mean by it is enables automatically?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With