Android Localization

How to change Localization in a Android real device - the following only works for Emulator:
capabilities.setCapability(“local”, “es_MX”);
capabilities.setCapability(“language”, “es”);

I want to do it programmatically so that I can test on multiple Locales -

Info:
a) Samsung 4.4.4
b) Appium Client: 2.1.0
c) Java SDK 8

Thanks,

Even i am looking for the Same, I have a .properties file which has key value pairs.
Is there any possibility to test the same.

Hi Guys,

Did anyone find a solution to change the locale on real-time device?

Thank you,
Sowrabha