Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
jvx:client:gui:multi_linguality [2018/02/01 12:52] admin |
jvx:client:gui:multi_linguality [2018/02/01 12:55] admin |
||
---|---|---|---|
Line 7: | Line 7: | ||
The translation mechanism does not require special text keys. We recommend developing the application in one language and creating the translation separately, either in parallel or after completion. | The translation mechanism does not require special text keys. We recommend developing the application in one language and creating the translation separately, either in parallel or after completion. | ||
- | == Example == | + | == Uage == |
All of the text in an application we have created is in German. However, we just found out that English also has to be supported. This requirement was not known at the time of development. | All of the text in an application we have created is in German. However, we just found out that English also has to be supported. This requirement was not known at the time of development. | ||
Line 127: | Line 127: | ||
</file> | </file> | ||
\\ | \\ | ||
- | **<fs 20px>Hint</fs>** | + | **<fs 20px>Note</fs>** |
The showcase application allows switching between German and English. A full integration of the translation can be viewed in the source code. | The showcase application allows switching between German and English. A full integration of the translation can be viewed in the source code. | ||
Line 373: | Line 373: | ||
demonstrates the wildcard mechanism for translations. | demonstrates the wildcard mechanism for translations. | ||
+ | |||
Variable text passages are defined using *. If multiple wildcards are used, text can be accessed via index (beginning with 0). | Variable text passages are defined using *. If multiple wildcards are used, text can be accessed via index (beginning with 0). |