Language Select

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

The input control is only being rendered when the language strategy of a portal is set to clients choice and not by the default language or browser 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?