SP.PageContextInfo.currentLanguage Property
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.