I want to change language via ADB. I try:
adb shell setprop persist.sys.language fr;setprop persist.sys.country CA;stop;sleep 5;start
but I
There is few solutions.It works for me.
adb shell am start -a android.settings.LOCALE_SETTINGS
(You could see the language menu, then choose language by appium)
download adbchangelanguage on google store
adb shell pm grant net.sanapeli.adbchangelanguage
android.permission.CHANGE_CONFIGURATION
adb shell am start -n net.sanapeli.adbchangelanguage/.AdbChangeLanguage -e language zh -e country TW
https://gist.github.com/douglasselph/b9998e69998759c6cceec1df1aa96ac5
using appium then set desired capabilities (language and locale) http://appium.io/docs/en/writing-running-appium/caps/