Language Property  
 

Gets and sets the language used to display context menus and dialogs in the browser.

Syntax

object.Language [= value ]

Remarks

The Language property specifies an alternate language to use when the browser displays a context menu or dialogs. This value can be a standard language tag in BCP-47 format (such as "en-US") or it can be a string which specifies a hexadecimal Windows locale identifier (such as "0x0409"). It is recommended you use the language tag whenever possible, as Microsoft is deprecating the use of locale identifiers (LCIDs) and their associated APIs. If this property is an empty string, the browser will use the current default language for the local user.

This property can only be set in design mode or from within the Initialize event. After an instance of the browser is created, attempting to change this property will result in an error.

Data Type

String

See Also