diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 88872c4..e2d8630 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -94,6 +94,7 @@
{{- end }}
+ {{- if not site.Params.DisableLanguageSwitch }}
{{- $lang := .Lang}}
{{- $separator := or $label_text (not site.Params.disableThemeToggle)}}
{{- with site.Home.AllTranslations }}
@@ -115,6 +116,7 @@
{{- end}}
{{- end }}
+ {{- end }}
{{- $currentPage := . }}