TranslateDialog.DefaultLanguage

Syntax

DefaultLanguage: Number

Description

The DefaultLanguage property determines the default language.

Comments

The property value - four-character number language code.

The translation specified for the default language will be used when translation value is not set for the other locale.

Example

To execute the example, the HTML page must contain the TranslateDialog component (see Example of Creating the TranslateDialog Component) named translateDialog. Set the Ukrainian language as a default one in the Translation dialog box:

translateDialog.setDefaultLanguage(1058);

After executing the example the Ukrainian language is set as a default one in the Translation dialog box, the default language translation is set for all the languages with undefined translations.

See also:

TranslateDialog