Data privacy notice

 

When this content is loaded, usage information is transmitted to Vimeo and may be processed there.

 

             

Internationalization

Modified on Mon, 16 Jan, 2023 at 10:57 PM

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.


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

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

<!-- Wird immer angezeigt -->
<div>XIMA® FORMCYCLE</div>



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article