SP.PageContextInfo.webLanguage Property
Applies to: SharePoint Foundation 2010
Gets the locale identifier (ID) for the default language used on the website.
var value = SP.PageContextInfo.get_webLanguage();
Property Value
Type: Int32
The locale ID for the default language used on the website.