Footer

Available properties

You can use the following properties in the Footer template.

Name Type Description
current_locale object A locale object corresponding to the one currently used by the user
alternative_locales array An array of locale objects corresponding to all the available locales in Help Center except the current one

Example

{{#if alternative_locales}}
  <div class="dropdown language-selector" aria-haspopup="true">
    <a class="dropdown-toggle">
      {{current_locale.name}}
    </a>
    <span class="dropdown-menu dropdown-menu-end" role="menu">
      {{#each alternative_locales}}
        <a href="{{url}}" dir="{{direction}}" rel="nofollow" role="menuitem">
          {{name}}
        </a>
      {{/each}}
    </span>
  </div>
{{/if}}