11

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.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Veera
  • 32,532
  • 36
  • 98
  • 137
  • On the Google emulator, you can set the language on the command line, when you launch the emulator. See https://stackoverflow.com/questions/2417427/changing-the-android-emulator-locale-automatically – Mr-IDE Aug 18 '19 at 14:23

4 Answers4

15

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'"

intertag
  • 229
  • 3
  • 8
  • This is still true and is the correct answer in how to change the local in the emulator. – Krtko Apr 13 '18 at 21:06
  • 1
    The region specifications (e.g. en_GB) often do not work properly in the emulator when using this method (uses the "en" resource, not the "en-rGB" resource), but do work when using the Language & Input (or Language & Keyboard) settings option like @Maaalte posted – Tyler V Jul 10 '18 at 03:07
  • I don't have it with SDK 28. – Dmitry Sep 16 '18 at 01:53
  • 2
    FYI with API 28: Settings > Languages & Input > Language, change – aquaflamingo Feb 19 '19 at 17:14
7

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.

denys
  • 6,834
  • 3
  • 37
  • 36
  • The only answer i found that makes it from the command line, this is perfect because i only have ssh access to the build machine and emulators there only, thank you so much – Lea2501 Apr 28 '20 at 17:07
2

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.

alvin
  • 693
  • 7
  • 8
2

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

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

Maaalte
  • 6,011
  • 3
  • 29
  • 27