23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

When there is a difference in text length, the longest text of a text layer is indicated. It is identified by a dashed<br />

border.<br />

4.9.4 Project Multilingual Capabilities<br />

4.9.4.1 Text Groups in Several Languages<br />

Text groups are also displayed in the editor in several languages. They appear in columns under the text layer<br />

names.<br />

After inserting a new text layer, default texts are automatically transferred to it and can be directly translated in<br />

the appropriate editor.<br />

Warning:<br />

Since a text group is assigned to a dynamic text field with a fixed length (see also Text and Graphics Output<br />

Using an Index), texts which are too long will be truncated automatically at runtime. Text length and assignment<br />

to the corresponding text field must be considered during the design phase.<br />

4.9.5 Multilingual Project Capabilities<br />

4.9.5.1 Switching Languages During Runtime<br />

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

Switching languages during runtime is done from the application program (i.e. writing to the language variable<br />

from the visualization application). The variable value must correspond to the text layer index.<br />

Language variable changes are checked cyclically during runtime. When the value is changed to a valid text<br />

index, the current picture is redrawn with the new language.<br />

Language switching is activated by selecting 'Enable Text Layer Switching' from the 'Panel' global project<br />

settings. Languages are changed during runtime by modifying the value of the connected variable.<br />

368 4.9.4 Project Multilingual Capabilities

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!