Embedding the Language Selector Widget in a Fragment

Issue

  • Need to embed the Language selector widget in a fragment via tags similar to what is referenced here:
    https://help.liferay.com/hc/en-us/articles/360020757071-Embedding-Widgets-in-Page-Fragments

Environment

  • DXP 7.2

Resolution

  • Please put below code in your header section of your theme.

    <div class="pull-right language-bar">
       <@liferay_ui["language"]/>
    </div>
  • As long as Freemarker alternative syntax is used it should work.
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 1