Internationalization


HTML templates can be deposited multilingual via the attribute "lang". There the passed URL parameter "lang" is evaluated. To set the attribute with the corresponding ISO language abbreviation, you must switch to the so-called source code mode.

Function principle example (delivered ISO language abbreviatio = de):
While rendering the template, it will be checked if an ISO language abbreviatio was delivered. If yes, then it will be checked with the delivered ISO language abbreviatio, which elements have the attribute "lang". Those elements will be displayed later. Elements, which also have the attribute "lang", but another ISO language abbreviatio (e.g. en), won't be displayed. Elements, which do not have an attribute "lang", will always be displayed.

<!-- Only if "de" -->
<div lang="de">
<h1>Fehler</h1>
<h2>Ung&uuml;ltige Formulardaten.</h2>
</div>

<!-- Only if "en" -->
<div lang="en">
<h1>Error</h1>
<h2>Invalid form data.</h2>
</div>

<!-- Is always shown -->
<div>XIMA® FORMCYCLE</div>