Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Foundation 2010
Gets the locale identifier (ID) for the current language used on the page.
var value = SP.PageContextInfo.get_currentLanguage();
Property Value
Type: Int32
The locale ID for the current language used on the page.