Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How can we change the locale(display language) programmatically?

Hi, all. I have a question about the AXL,

I want to change the locale from English United State to Thai Thailand but, I have no any idea which funcion. I found the updatePhone, but it seem to many parameter. Please kindly advice me.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How can we change the locale(display language) programmatica

This means that it worked out. If you look at the spec (e.g. http://developer.cisco.com/c/document_library/get_file?folderId=192390&name=DLFE-11111.zip&redirect=http%3A%2F%2Fdeveloper.cisco.com%2Fweb%2Faxl%2Fdocs%3Fp_p_id%3Ddoc_library_summary_portlet_WAR_doclibrarysummaryportlet_INSTANCE_DXka%26p_p_lifecycle%...) you'll see that upon successful execution of updatePhone, you get the uuid of the device back. You'd get something that includes the string error if it fails.

Oh, one thing though: just as with ccmadmin, changing the locale won't change anything on the phone just now.. you have to reset the device to make the change sticky. To do that, you need to execute a doDeviceReset operation and set the isHardReset parameter to true.. that will perform a hard reset of the phone and when it comes back up, it'll load the new locale.

If you're using extension mobility, you need to log out the currently logged in user and then log him back in.. more info about that in the extension mobility api section:http://developer.cisco.com/web/emapi/home. With EM you'll need to give your axl user em proxy rights so that it can log in/out everybody so you don't need to know the user's password.

4 REPLIES
Highlighted

Re: How can we change the locale(display language) programmatica

updatePhone is the correct method... and the parameter you're looking for is userLocale. By default, it is empty which means the default English US locale, but you can set it to any other locale you have installed on your CCM (e.g. German Germany for German, or French France for French).

And, if you look at the axl documentation again, you'll see that very few parameters are actually mandatory.. something as simple as

SEP1234German Germany is all it takes to change the user locale on phone SEP1234.

New Member

Re: How can we change the locale(display language) programmatica

I try to send as your suggest but the phone return something like belows

============================

http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.cisco.com/AXL/API/1.0" sequence="1234">{B4FF13C9-6F7E-4DCC-B555-4620CED2CEFD}

Re: How can we change the locale(display language) programmatica

This means that it worked out. If you look at the spec (e.g. http://developer.cisco.com/c/document_library/get_file?folderId=192390&name=DLFE-11111.zip&redirect=http%3A%2F%2Fdeveloper.cisco.com%2Fweb%2Faxl%2Fdocs%3Fp_p_id%3Ddoc_library_summary_portlet_WAR_doclibrarysummaryportlet_INSTANCE_DXka%26p_p_lifecycle%...) you'll see that upon successful execution of updatePhone, you get the uuid of the device back. You'd get something that includes the string error if it fails.

Oh, one thing though: just as with ccmadmin, changing the locale won't change anything on the phone just now.. you have to reset the device to make the change sticky. To do that, you need to execute a doDeviceReset operation and set the isHardReset parameter to true.. that will perform a hard reset of the phone and when it comes back up, it'll load the new locale.

If you're using extension mobility, you need to log out the currently logged in user and then log him back in.. more info about that in the extension mobility api section:http://developer.cisco.com/web/emapi/home. With EM you'll need to give your axl user em proxy rights so that it can log in/out everybody so you don't need to know the user's password.

New Member

Re: How can we change the locale(display language) programmatica

it's work, thank you very much.

More question, if i just change the locale and reset the phone (ignored the other parameters such as username, line, display) the phone still save the original?

345
Views
0
Helpful
4
Replies
CreatePlease login to create content