+ Start a Discussion

scontrol and user's language setting

I'm writing some sControls where I want the various (error) messages to be displayed in the user's language. However, I haven't been able to find out where I can get the user language settings. Looking at the user object fields there is nothing obvious, so I might have to retrieve the user object to get the information?
Hi per,

Yes you will have to call either getUserInfo using the userId that you can get from a merge field or query the user object on the userId. Any errors returned from the API will be in english.