CurrentLanguage: Number;
The CurrentLanguage property determines the current language.
The property value - four-character number language code.
The default current language corresponds to the current language settings determined by means of the PP.setCurrentCulture method.
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 current one in the Translation dialog box:
translateDialog.setCurrentLanguage(1058);
After executing the example the Ukrainian language is set as current one in the Translation dialog box:
See also: