# Language switcher module after module update

**URL:** <https://community.hubspot.com/t/language-switcher-module-after-module-update/127646>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [March 10, 2025, 1:27pm UTC](https://community.hubspot.com/t/language-switcher-module-after-module-update/127646 "2025-03-10T13:27:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christoph-W](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/christoph-w/32/30597_2.png) [@Christoph-W](https://community.hubspot.com/u/Christoph-W)\
**Post date:** [March 10, 2025, 1:27pm UTC](https://community.hubspot.com/t/language-switcher-module-after-module-update/127646/1 "2025-03-10T13:27:20Z")

</div>

Hi, afer uodating the module ‘language-swithcher’ it doesn’t work. Is there anybody who has experinces with the last update of the language-switcher module?

The code we are using is:

```lia-code-sample
<!--
 templateType: global_partial
 label: Website header-lang
-->

{% if content.translated_content|length || is_listing_view && group.translations %}
<div class="header__language-switcher header--element" style="display:none;">
 <div class="header__language-switcher--label">
 {% module 'language-switcher' path='@hubspot/language_switcher', label='Language switcher', display_mode='localized' %} 
 <div class="header__language-switcher--label-current"> {{ locale_name(locale) }}</div>
 </div>
</div>
{% endif %}
<header class="header">
 <div class="header__container content-wrapper">

 {# Header logo column #}
 <div class="header __logo header__ logo--main">
 <a href="https://www.vierviertel.com/{{ content.language }}" id="hs-link-site_logo_hs_logo_widget" style="border-width:0px;border:0px;"><img src="{{ site_settings.logo_src }}" class="hs-image-widget " width="{{ site_settings.logo_width }}" height="{{ site_settings.logo_height }}" alt="{{ site_settings.logo_alt }}" title="{{ site_settings.logo_alt }}"></a>
 {# module 'site_logo' path='../../modules/custom logo' height='45' #}
 </div>
 {# End header logo column #}
 <div class="menu">
 {% module 'navigation-primary' path='../../modules/menu-section',
 label='Primary navigation', no_wrapper=True
 %}
 {% module "module_162676500023532" path='../../modules/Button-text', label="text-button" %}
 <div class="language-menu">
 {% module_block module 'language_switcher' path='@hubspot/text' label='Language switcher' %}
 {% module_attribute 'value' %}
 <ul>
 <li><a data-lang="en">en</a></li>
 </ul>
 {% end_module_attribute %}
 {% end_module_block %}
 </div>
 </div>
 <!-- /.menu -->
 </div>
 <!-- /.header__container -->
</header>

```

Thank you for any help

Best

Christoph

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [March 11, 2025, 1:32pm UTC](https://community.hubspot.com/t/language-switcher-module-after-module-update/127646/2 "2025-03-11T13:32:10Z")

</div>

Hi @Christoph-W

Your code is fine, but it will only work properly once you add the JavaScript and CSS. We’ve tested it, and everything works as expected after adding them. We’re also sharing the screenshot with you for reference.

 ![GRajput_0-1741699783024.jpeg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/4/641f84a766b571610cda51c9b552d475da1c5c78.jpeg)

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Christoph-W](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/christoph-w/32/30597_2.png) [@Christoph-W](https://community.hubspot.com/u/Christoph-W)\
**Post date:** [March 11, 2025, 2:08pm UTC](https://community.hubspot.com/t/language-switcher-module-after-module-update/127646/3 "2025-03-11T14:08:04Z")

</div>

Hi GRajput, thank you. Yes, the language switcher menu is working fine. But we don’t want to display it as you can see in the code. We put another solution into the code, as you see. But this is not working after we made an update of the language-switcher module. Any idea?  
Thank you. Christoph

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [March 12, 2025, 7:27am UTC](https://community.hubspot.com/t/language-switcher-module-after-module-update/127646/4 "2025-03-12T07:27:49Z")

</div>

Hi @Christoph-W

Could you please clarify what kind of design you’re looking for? Please share any screenshor page link for understand better and what type of design you want. We’re having trouble understanding your requirements, so we’re not able to help you properly.

Thanks!
