TestProject Forum
Powered by leading experts in the test automation community

Set device language

Is it possible to set the device language?

Hi @david.kampel

We don’t have this option at the moment, but i suspect that it can be developed.

Can you please tell me, are you trying to do this on iOS or Android device?

Hi @Vladyslav

Right now I am trying to do it for android, but after that I will need it for ios.

Looks like it can be set with:

DesiredCapabilities dc = new DesiredCapabilities();
dc.setCapability(“language”, “pt”);

Is there a way I can use this before you develop it?

Hi David.
You can create that part of code as an addon, and upload it in the addon tab in the platform.
After that you will have that as an Action where you can switch to the language you want.

I’m not sure how I do that.
I’m new to testproject/appium but if I understand I should add the desiredcapabilities when I “create” the driver and I don’t know how to do that in testproject.

Hi David can you please contact me on our Chat, I can help you over a zoom session :slight_smile:

Any news on this?
Will you be able to add this feature in the future?

Hi again David.
Yes we are currently working on this and I will update you when it is done.

Thank you :smiley: :+1: