LangUser Property

 

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:

 

See Also:

LangSystem Property

Language Property

Country Property

GetExtPropertiesEx Method

SetExtProperties Method