Lenze VisiWinNet VisiWinNET Smart Benutzerhandbuch

Seite 198

Advertising
background image

Project example

Creating multiple−language projects (language switching)
Assigning user texts to a control element of the type "Label"

4

l

198

SHP−VWNS DE/EN 6.1

5. Highlight the text lblWelcome in the list field and click OK.

You have now defined the text that is to be shown by the control element during
runtime. After acceptance of the text is confirmed, the latter is shown in the control
element in the active language.

)

Note!

Apart from the label control element, other control elements also directly or
indirectly support the display of texts whose language can be switched over. In
general, the following applies: a "LocalizedText" property indicates that a text
whose language can be switched over is displayed.
Other control elements have no such property but they do obtain texts or
formatting instructions from the language switching function. The
"AlarmLine" control element, for example, includes the "DateTimeFormat"’
property, which enables the specification of a text from the language
switching function. The indication of "@LongDate" as the value of a property
says that the text of the same name from the
"Components.Time.DateFormats" text group contains a formatting character
string for each project language, whereby this string is used to format
date/time values during the runtime. This is also done by the language
switching function.

Advertising