For Instance, LCID of Italian Language is 1040
LCID of Japanese Language is 1041
var userlcid= Xrm.Page.context. getUserLcid();
Also LCID of the base language for the current Organization could be retrieved using the following code snippet.
var orglcid= Xrm.Page.context. getOrgLcid();