7

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.

ccellar
  • 10,156
  • 2
  • 35
  • 56
ThdK
  • 6,877
  • 20
  • 67
  • 91

1 Answers1

14

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

Here's a list of the possible LCIDs

ccellar
  • 10,156
  • 2
  • 35
  • 56
dub
  • 1,326
  • 12
  • 22