language switcher

Topic summary

Goal: Show only the alternate language in the switcher (e.g., when browsing English, display an Arabic button), similar to the competitor site.

Proposed approaches:

  • Edit theme file language-localization.liquid to render only non-current languages. A snippet was shared using localization.available_languages and comparing language.iso_code with localization.language.iso_code, then assigning the other language’s name and code.
  • Use a multilingual app (Langify) to manage the switcher.

Constraints/Issues:

  • The requester couldn’t find language-localization.liquid in the theme and is already using Langify.

Actionable next steps:

  • Contact Langify support (apps.shopify.com/langify#adp-developer) to place the switcher at the desired location. Provide the myshopify domain and collaborator request code (found in Shopify → Settings → Users and permissions).

Technical notes:

  • localization.available_languages is Shopify’s list of enabled languages; iso_code is the language code; endonym_name is the language’s native name.

Assets:

  • Screenshots of the switcher behavior and references to competitor and current site are central.

Status: No confirmed resolution yet; suggested path is to have Langify implement the switcher for free within hours.

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

I want to do language switcher like that when I was on English section, Arabic button appear.

I want to do the same on appearance on my website.
competitor website: https://wibi.com.kw/

My website : https://level-up.gg/

I am on English language and English appears in switcher.

Hi @eslamibrahim

You can edit your theme code:

modify file content: language-localization.liquid

{%- comment -%}
  Renders the language picker for the localization form

  Accepts:
    - localPosition: pass in the position in which the form is coming up to create specific IDs
{%- endcomment -%}

{% assign my_language = '' %}
{% assign my_code = '' %}

  {%- for language in localization.available_languages -%}
    {% if language.iso_code != localization.language.iso_code %}
      {% assign my_language = language.endonym_name %}
      {% assign my_code = language.iso_code %}
    {% endif %}
  {%- endfor -%}

  

Hi,

You can use app like langify

1 Like

I did not find language liquid.
I used langify app

1 Like

Please reach out to langify here https://apps.shopify.com/langify#adp-developer and they’ll place it for you at the desired location free of charge and within just a few hours max.

Please also include your myshopify domain and your collaborator account request code (which you can find in Shopify → Settings → Users and permissions) in your message.