Type: String
Returns a string indicating the language code corresponding to the regional settings for the user, if using IE. Otherwise returns the language code corresponding to the language build of the browser. For example: "en-us" or "en".
Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires either the Professional or Enterprise Edition of BrowserHawk.
Tip: See the extproperties.asp example located in your BrowserHawk directory for detailed information and examples on using this property.
Example:
<% set bhObj = Server.CreateObject("cyScape.browserObj")
bhObj.SetExtProperties "LangUser"
bhObj.GetExtPropertiesEx
%>
<html>Language of user is:
<%
PropVal = bhObj.LangSystem
response.write PropVal %>
</html>
Special notes for this property:
Unlike LangSystem, this property is available with IE v4+, Netscape v4+, and Opera v4+ on all platforms.
If the user’s JavaScript is disabled this property will not be available.
See Also: