diff --git a/bedrock/base/templates/includes/protocol/lang-switcher.html b/bedrock/base/templates/includes/protocol/lang-switcher.html index f1bdc4ce0b..6ca78f8386 100644 --- a/bedrock/base/templates/includes/protocol/lang-switcher.html +++ b/bedrock/base/templates/includes/protocol/lang-switcher.html @@ -4,12 +4,16 @@ file, You can obtain one at https://mozilla.org/MPL/2.0/. #} -{% if translations|length > 1 %} + + +{%- set available_languages = get_lang_switcher_options(request, translations) -%} + +{% if available_languages|length > 1 %}
{{ ftl('footer-language') }}