Skip to main content

Object: GlobalTextList

Symbol: _visu_icon_global_text_list.png

The object is used to manage and translate texts which are composed as static text in visualizations in the project. The object contains a table with these texts. When you compose a text in a visualization in an element in the Texts property, CODESYS automatically adds a line in the table. You can only edit existing text here, not compose any new text.

For more information, see: Using a Text List, Text List

Moreover, CODESYS provides the following commands in order to consolidate the GlobalTextList:

  • Check Visualization Text IDs

  • Update Visualization Text IDs

  • Remove Unused Text List Entries

The object is located in the POU view and exists at most one time.

ID

Unique identifier of the text

Default

Source text as string with one formatting specification at the most (example: Information A: %i options)

If a translation is not provided below a language column, then the default text is used.

Double-click in the field to edit the text.

You can add as many language columns to the table as you want. A language column is named with a language code which you already specified when creating the column with the Insert Language command.

<language code>

Name of the language as a language code (example: en-US)

This column contains the translation of the text that is made in Default.

When the language code is selected as a language in the Visualization Manager, a visualization displays the translation when it is run. A running visualization can toggle between languages at the request of a user.

Double-click in the field to edit the text.