Get Language Code (LCID) of the User in CRM 2011/2013/2015

Hi,

Here is the JavaScript to get the LCID (Locale Id) of User and Organization Base Language.
 

// Current User Language ID

var currUserLcid = Xrm.Page.context.getUserLcid();
// Organization Base Language ID
var orgLcid = Xrm.Page.context.getOrgLcid();

Check this for Microsoft Locale ID Values

Hope this helps


Happy CRM’ing
Gopinath

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s