{{- $page := .context -}}
{{- $changeLanguage := (T "changeLanguage") | default "Change language" -}}

{{- if hugo.IsMultilingual -}}
  <div class="hx:relative">
    <button
      title="{{ $changeLanguage }}"
      data-state="closed"
      class="navbar-language-switcher hx:cursor-pointer hx:p-2 hx:text-current hx:hover:bg-gray-100 hx:dark:hover:bg-neutral-800 hx:transition-colors hx:duration-200 hx:rounded-lg hx:flex hx:items-center hx:gap-1"
      type="button"
      aria-label="{{ $changeLanguage }}"
 