How to enable Language Switcher?

Topic summary

Issue: After adding English as a second language and enabling the theme’s language switch option in a third‑party Shopify theme, the language switcher does not appear on mobile or desktop.

Proposed approach: A contributor shared a Liquid (Shopify templating) snippet that loops through localization.available_languages to render a list of languages using each language’s endonym_name. They note it should work or need minimal modifications.

Implementation guidance: Place the snippet in the template where the switcher should display—commonly header.liquid (header) or footer.liquid (footer). The exact location depends on the theme’s structure and desired placement.

Status: No confirmation of a successful fix yet. The thread remains open, pending the original poster implementing the snippet and verifying results.

Summarized with AI on December 19. AI used: gpt-5.

Greetings, i use a third-party theme in my store and recently I added English as a second language, but although I have enabled the language switch option in the header of the theme the language switcher doesn’t appear in the theme, both mobile and desktop. Does anyone know how I can fix that?

Thanks in advance!

Hi @mpatsia
Please check this code


  
  

    

      {%- for language in localization.available_languages -%}
        - {{ language.endonym_name | capitalize }}
            
          
        
      {%- endfor -%}
    

  

It can work or require minimum modifications

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks!

Hi, thanks for the replay, in which palce i must add this snippet of code?

Hi @mpatsia
You can put at the place where you want it, It may be header.liquid if you want to put there
OR
footer.liquid if you want to put in footer
You have to find the place that fit you

Thanks!