Help Center> Cloud Phone Host> User Guide> Using AOSP> Dynamically Changing the System Language
Updated on 2022-11-29 GMT+08:00

Dynamically Changing the System Language

Function

Run the am command to dynamically change the system language.

How to Use

adb shell am update-config --locale Language tags

Constraints

  • Language label of each country

    For details, see Language Tags. For the source code of the opn-source project, see /aosp/frameworks/base/core/res/res/values/locale_config.xml.

  • Use commas (,) to separate multiple language tags.

    For example, to change the current language list to English+Chinese and configure English to the default language, run the following command:

    adb shell am update-config --locale en-US,zh-CN

  • The setting takes effect immediately.