Change Device language via ADB

Your errors have nothing to do with adb. You must first understand how your local shell processes your command: What you are doing is running these commands locally (on your PC):

adb shell setprop persist.sys.language fr
setprop persist.sys.country CA
stop
sleep 5
start

and the error messages you see are from local shell (i.e. there is no setprop executable on your system and start and stop commands have non-optional parameters.

the correct command would be

adb shell "setprop persist.sys.language fr; setprop persist.sys.country CA; setprop ctl.restart zygote"

The argument between the quotes will be passed to adb instead of being interpreted by your local shell.

In more recent Android versions, you can also do:

adb shell "setprop persist.sys.locale fr-CA; setprop ctl.restart zygote"

Leave a Comment