6.11.3 Exercise
| This section explains the basics of the feature. Please utilize the feature according to your site environment. |
Exercise: Expressing contents of the page in different languages
You can use the multi-language table to express various elements of the page in different languages. In this example, the multi-string object is used to express the simple explanation for a flowmeter in Korean, English, and Japanese.
β» Please refer to the Multi-Language Setup and String Editor manual for more information about the multi-language table.
a) Create an analog tag βINDEXβ to assign the string index.
b) Go to [Tools] β [Multi Language Setup] and select the βUse Multiple Language Tableβ option. Enter the control tag name βINDEXβ in the text field and assign the language and font to display.
c) Go to [Tools] β [String Editor] and add a string group. Check the βMultiple columnβ option.
d) Press the βAdd Stringβ Β icon and enter the strings in each column to display in the multi-string object. Write the same contents in a different language in the same index, but a different column. Korean, English, and Japanese will be displayed according to the βINDEXβ value.
e) Press the βColumn Propertyβ Β icon and assign languages and fonts that were configured in step b.
f) Press [Draw] β [Multi Language String] to create a multi-string object. Specify the group number and string value.
g) Create three touch objects to change the value of the βINDEXβ tag.
h) Launch the project in Xpanel or simulator. When you press each button, you will find that different strings are displayed.
When you press [Korean], the texts will be displayed in Korean.
When you press [English], the texts will be displayed in English.
When you press [Japanese], the texts will be displayed in Japanese.
Β