Skip to content

NativeTextList

class NativeTextList

The NativeTextList is the basic container for text resources. Native texts are the texts that are assigned to the various elements in the application at the time of development. Typically, such texts are unedited and are not used to be displayed on an HMI or similar. The texts entered here will be the basis for later translations.

Abstract

The NativeTextList is the basic container for text resources. Native texts are the texts that are assigned to the various elements in the application at the time of development.
Typically, such texts are unedited and are not used to be displayed on an HMI or similar.
The texts entered here will be the basis for later translations.

class NativeTextList extends NamedResource

image2022-2-10_17-4-38

Assign NativeTextResource to application element

It contains the text blocks that the developer assigns to the individual elements in the application.

Assign NativeTextResource to messages or parameters

In order to assign a NativeTextResource to a fullName of a message or a parameter, first add the corresponding list to the controller object as "textList". Now browse to your element, add a fullName (or a description) and select "TextSourceTextList". As text you can now add a pre-existing element from your selected list, or you can create a new text element and append it to the list.

image2022-2-10_17-7-19

To assign a NativeTextResource to a controller instance, open up your project's config file. Navigate to your desired controller instance under instanceAttributes, add your list as "textList" and select an element from this list as your "nameElement" or description.

InstanzenNativeTextList

Through this connection, at the time of generation, the translated texts can be assigned to the individual elements. For example, in the form of a metainformation file for an HMI.