Translating Text Lists Using the 'Resources' Editor
To use the text lists in localized applications, you can translate the text list entries. The translations of the text lists are entered using the 'Resources' editor in the text list editor group. In the 'Resources' editor, the default language and each alternative language (identified by its language code) is represented by a single column.
Which alternative languages are available depends on the selection you have made in the 'Options' dialog ('Extras > Options | International | Default Language Settings').
The 'Resources' editor contains a single line for each text list entry which is defined in the 'Text List' editor. Each text list entry consists of an ID, name and the source text in the default language and its translations. (The ID and name are read-only and created automatically; the name is created from the value range defined for the text list entry.)
To enter a translation string, enter the text in the corresponding language column and confirm with <Enter>.
Further Info
Switching the language at runtime is done using the application local tag LanguageCode provided in the 'Tags' editor of the 'Application' PLANT node. By writing the desired target language to this tag, the displayed language of the HMI application can be switched at runtime. For an example how to use the tag, see "Localization of the HMI Application". |