javascript - How to get LCID String form LCID in JavaSscript? -



javascript - How to get LCID String form LCID in JavaSscript? -

i'm developing crm 2011 , 2013, , want user's language. command can execute xrm.page.context.getuserlcid(), , gives language id, 1033 english. but, want have lcid string, 'en-us'. there way this, in javascript? perhaps default function in crm? , there way languages installed in crm?

to list of installed languages - recheck this article regarding conversion of language code -i believe need write conversion function like:

function getlocale(languagecode){ if (languagecode == 1033){ homecoming "en-us"; } else if (languagecode == 1064){ homecoming "ua-ua"; } else { homecoming "not found!"; } }

javascript dynamics-crm crm microsoft-dynamics

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -