GxTitle.IsMultiLanguage

Syntax

IsMultiLanguage: Boolean

Description

The IsMultiLanguage property determines whether the button for opening a dialog box for title text translation during editing is visible.

Comments

The edit mode is enabled by the beginEdit method, and visibility of the button for opening a dialog box text translation is determined.

Available values:

NOTE. The button will be displayed if the Source object (PP.Exp.EaxAnalyzer) of the PP.Exp.Ui.ExpressBox class has also the IsMultiLanguage property set to True.

Use JSON or the setIsMultiLanguage method to set the property value, and the getIsMultiLanguage method to get the property value.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To show the title, click the Title button on the Home tab. Display the button for opening a text translation dialog box:

// Get title
var title = expressBox.getDataView().getTitleView();
// Enable displaying of the button for opening a title translation dialog box
title.getSource().setIsMultiLanguage(true)
// Enable title editing
title.beginEdit();

As a result, a button for opening a translation dialog box appears in the title editor:

See also:

GxTitle