Functional description
The plugin provides a new widget in the designer, which allows to easily insert a selection bar for the form language. The widget uses settings that can be individually configured in the designer with regard to the languages to be displayed and the names to be displayed for them.
By clicking on a language in the widget, the form is reloaded with values already entered in the corresponding language. It should be noted here that it is not possible to re-enter user-selected files in upload elements due to browser security restrictions.
Installation
The plugin can be installed as a client plugin or system plugin.
Configuration
The following properties can be configured on widgets of this type:
Options
Language selection widgets have an additional Options area. Here, the languages visible in the language selection and the names to be displayed for the respective language can be defined.
For each language to be displayed, a line with the visible description text and the abbreviation of the language must be entered (e.g. en for English). Optionally, the title attributes can be specified in the Title column. The languages must be maintained in the Designer under Form Language so that a translation is actually carried out.
In addition to configuring the options directly on the widget, it is also possible to use a CSV data source. This can be selected in the Data Source selection element.
Word-/PDF-Export
By default, the widget is configured so that it does not appear in the Word/PDF export. It also does not make sense to change anything in this setting, as the element has no function in an exported form.
Possible CSS adjustments
To individualise the appearance of the widget, adjustments can be made using CSS.
For example, the default underlining of the language selections can be removed:
.XItem.XLanguageSwich { text-decoration: none; }
Die Farbe der aktiven Sprache kann wie folgt verändert werden:
.XItem.XLanguageSwich.XLanguageSwichActive { color: red; }
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article