Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to retrieve the language of the current user with javascript?

I'm looking for javascript code that will return the language selected by the current logged in crm user. Is there another method than reading the language setting from the used internet browser.

like image 682
ThdK Avatar asked Sep 12 '11 14:09

ThdK


1 Answers

You can get the user's locale ID through the function Xrm.Page.context.getUserLcid();

Here's a list of the possible LCIDs

like image 200
dub Avatar answered Sep 30 '22 03:09

dub