DGS Multilingual: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
==<span style="color:#000000;text-shadow:0.05em 0.05em 0.2em #00000099;">Usage</span>== | ==<span style="color:#000000;text-shadow:0.05em 0.05em 0.2em #00000099;">Usage</span>== | ||
*1. A '''Translation Table''' (Dictionary) should be specified: | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Dict = { | |||
TestText1="Welcome To %rep%", | |||
} | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 05:54, 11 December 2020
Description
- 1. DGS has a built-in multilingul (multi-languae) system.
- 2. Multilingul allows dynamic language changing and prevents non-essential GUI recreating or text reset by code.
- 3. DGS Multilingul system will specify the structure of Translation Table (Dictionary).
Usage
- 1. A Translation Table (Dictionary) should be specified:
Dict = { TestText1="Welcome To %rep%", }