LangSystem Property

 

Type: String

 

Returns a string indicating the language code corresponding to the language edition of the installed operating system. For example: "en-us" or "en". Requires IE 4+, any platform.

 

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 "LangSystem"

bhObj.GetExtPropertiesEx

%>

<html>Language of system is:

<%

if bhObj.Browser = "IE" and bhObj.Majorver >= 4 then

PropVal = bhObj.LangSystem

else

PropVal = "Not available with your browser/platform"

end if

response.write PropVal %>

</html>

 

Special notes for this property:

 

See Also:

Language Property

LangUser Property

Country Property

GetExtPropertiesEx Method

SetExtProperties Method