Member attributes: MultiLingual

This attribute controls the localization of a class or class variant member.





The attribute MultiLingual determines, how objects of the particular class should behave when the language is changed at the runtime. In the broadest sense, this attribute permits a GUI component to update itself automatically when language is changed without the necessity to implement this behavior explicitly.

If the language changes and the attribute is true, then all multi-lingual initialization expressions specified for members within the respective class are automatically re-evaluated. This is performed individually for every existing object of the class. In other words, all variables, properties and arrays defined within the class are updated to values corresponding to the new language. If this attribute is false, then no automatic re-evaluation takes place.

The automatic re-evaluation affects only members initialized with expressions containing at least one multi-lingual operand, e.g. a constant with several language specific values. In turn, initialization expressions not involving any multi-lingual operand are never re-evaluated, so that the values of the corresponding data members is guaranteed to remain unchanged.

Modify the attribute

To inspect or modify the value of an MultiLingual attribute, select first the affected class or class variant member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute: