Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Alternate language text through API

Highlighted
Randy Holiman
Occasional Advisor

Alternate language text through API

I have a program that retrieves Incident information through the API. Currently it allows the language to default to English. I need to be able to specify the language returned for the Incident fields.

I have tried setting the login Account to default to the alternate language but that doesn't seem to make any difference. I have also tried invoking the setLocale method on my session object. It doesn't complain about the language specified, but also doesn't change the value. When I retrieve it using the getLocale method, it is still set to English.

Any assistance would be greatly appreciated.
//Add this to "OnDomLoad" event