Adb shell command to change the device language?
<p>I'm new in android automation and i've been working on adb commands to help me with tests on a physical device. </p>

<p>Is there a way to change the language of the device under test via adb?</p>

<p>I found the command below:</p>

<pre><code>adb shell am start -n com.android.settings/.Settings -e :android:show_fragment com.android.settings.LocalePicker
</code></pre>

<p>Not worked. I also tried via shell with:</p>

<pre><code>adb shell setprop persist.sys.language pt
</code></pre>

<p>But it didn't worked too.</p>