How to change the default language of Android Emulator?

前端 未结 5 1566
盖世英雄少女心
盖世英雄少女心 2020-12-08 22:02

How to change the language of the Emulator? By default I am getting Chinese while filling a form.
Please help me to get out of this.

相关标签:
5条回答
  • 2020-12-08 22:25

    Use this to set locale programmatically:

    Locale locale = new Locale("en");
    Locale.setDefault(locale);
    Configuration config = getBaseContext().getResources().getConfiguration();
    config.locale = locale;
    
    0 讨论(0)
  • 2020-12-08 22:26

    There are few possible solutions to change the device language.

    1. Open menu -> Setting -> Language & Keyboard -> Select Locale. Set any locale from this. It depends on android os version and on device manufacturer.
    2. Emulator contains app called "Custom Locale". using that app also you can change the locale of your emulator. I didn't check all type of emulator running on different types of CPU and android version so its not gerrently that this app is present in the emulator.
    0 讨论(0)
  • 2020-12-08 22:26

    For the new simulators, just your new language in

    Settings -> System -> Languages & Input,

    then re-order your desired device locale at the top of the languages list this is the key!

    It will automatically switch UI for RLT/LTR, and change system locale

    0 讨论(0)
  • 2020-12-08 22:28

    It depends form the version emulator.

    On Android 4.0: Home -> Central Menu -> Custom Locale

    Custom locale selection screen

    0 讨论(0)
  • 2020-12-08 22:37

    You can disable the Japanese and other input methods from being activated entirely via Settings -→ Keyboard -→ untick the box next to each IME.

    0 讨论(0)
提交回复
热议问题