Changing language in Physical device

1,320 views
Skip to first unread message

learnw...@gmail.com

unread,
Sep 11, 2013, 3:19:35 PM9/11/13
to calabash...@googlegroups.com


     Hi ,

     I want to automate "change the language from EN ( US country) to DE or FR ( Germany ) in physical device , Please let me know how to do it ?
    
     I got the command "setprop persist.sys.language fr;setprop persist.sys.country CA;stop;sleep 5;start" from "http://developer.android.com/guide/topics/resources/localization.html"

   but it not working , please let me know How to change language in phone ?


  Thanks ,
  Muthu Selvan SR

Tejasvi

unread,
Sep 15, 2013, 2:39:52 PM9/15/13
to calabash...@googlegroups.com

You must be in device shell to run this command or else use command like this adb shell 'setprop persist.sys.language fr;setprop persist.sys.country CA;stop;sleep 5;start' as explained in that here (http://developer.android.com/guide/topics/resources/localization.html#testing) you can change it only emulator not on device. I suppose changing language on android device has to be done manually

Nicky

unread,
Sep 16, 2013, 4:34:22 AM9/16/13
to calabash...@googlegroups.com
Hello

Using Robotium and Java, you can change the language on android physical device programmatically. But I don't know how to do this using Calabash.

learnw...@gmail.com

unread,
Sep 16, 2013, 1:23:49 PM9/16/13
to calabash...@googlegroups.com
Thanks Nicky I am good in calabash ..but i am new to robotium .

Kindly send me the link for robotium so that i can start automate that ..is there any forum is available to get support for robotium ?

Nicky

unread,
Sep 17, 2013, 4:25:02 AM9/17/13
to calabash...@googlegroups.com
Hello again!

This is the link from witch you can download Robotium and the javadoc for it.

You can also find there that Robotium is a library that you add to your Android app in order to use it. There are more details about where to add it exactly. If you need help, please let me know. 
I was wondering if you can help me with a problem that I have with Calabash. I cloned the repo frm Github and implemented my own action. Now I am trying to make a new gem, but the command rake build doesn't work. Could you please explain me where I am wrong?

Best regards,
Nicky
Reply all
Reply to author
Forward
0 new messages