For the complete documentation index, see llms.txt. This page is also available as Markdown.

Language Select

The LanguageSelect template part renders an input control for selecting the current language of the WEM portal.

The input control is only rendered when the language strategy of the portal is set to "client's choice" rather than the default language or the browser's user agent.

Syntax

<% LanguageSelect %>

Example

<body>
    <header>
        <!-- Header content -->
        <? LanguageStrategy = "Cookie"
            <div class="language-select">
                <% LanguageSelect %>
            </div>
        ?>
        <!-- Header content -->
    </header>
    <!-- Body content -->
</body>

Last updated

Was this helpful?