Usage of languages
In a EASY UI project, multiple languages can be defined. These can be used in various places for different tasks.
In the IDE
-
Table editor
-
In the development environment, adding a language results in the expansion of the text table in the table editor by a new column. The column header contains, among other things, the language identifier (LCID). The fields in the column allow a text to be
assigned to the project's text definitions. This enables the developer to enter texts in all defined languages within the table editor.
-
-
Developer language
-
The developer language is the preferred language of the developers, in which they enter texts for the user interface, for example.
The language designated as the developer language has the following functions:
-
When selecting texts, e.g., via the
LocalizableTextproperty of controls, the texts are displayed in the developer language in the selection dialog. -
In the definitions of system modules (e.g., variable or alarm definitions), the text entered in the
Textparameter is assigned to the developer language.
To change the developer language, select the Project configuration > Global node in the Project Explorer and click the Language tab in the Property Pages window.
The developer language is also used by the Translation Manager to identify modified or new texts for the translation process. If possible, avoid changing the developer language during the course of project development. -
-
-
Design language
-
The design language is used by the controls at design time. While designing the graphical interface, the controls display the texts from the design language.
You can also change the design language via the Change design language⦠command in the context menu of the project or the solution in the Project Explorer.
To change the design language, select the Project configuration > Global node in the Project Explorer and click the Language tab in the Property Pages window.
After changing the design language, it is not used by the controls immediately. To see the texts in the controls in the new design language, close the project and reload it in the development environment.
-
At runtime
-
Switching the language
-
In the user interface, the operator can switch the texts to one of the defined languages (see Switch language (Language Switching how-tos)).
-
-
Start language
-
An application is started for the first time in the start language. If the operator changes the language at runtime, this change is saved. After closing and restarting, this saved language is used.
To change the start language, select the Project configuration > Global node in the Project Explorer and click the Language tab in the Property Pages window.
-