diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 66cd08e304..7949984982 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -49,7 +49,7 @@
{{- end }}
{{- $siteLanguages := .Site.Languages }}
- {{- $showlangswitch := and .Site.IsMultiLingual (not .Site.Params.disableLanguageSwitchingButton) (gt (int (len $siteLanguages)) 1) }}
+ {{- $showlangswitch := and hugo.IsMultilingual (not .Site.Params.disableLanguageSwitchingButton) (gt (int (len $siteLanguages)) 1) }}
{{- $themevariants := partialCached "get-theme-variants.hugo" . }}
{{- $showvariantswitch := gt (int (len $themevariants)) 1 }}
{{- $footer := partial "menu-footer.html" . }}