Skip to content

Language Switcher

File: snippets/language-switcher.liquid

Used in snippets: global-header

Screenshot not yet added.
Save as docs/src/assets/screenshots/snippet-language-switcher.png

Description

Language Switcher

Native Shopify language switcher using the localization form. Renders a globe icon that opens a dropdown with emoji flags and language endonym names. Only renders when multiple languages are configured in Shopify Markets/Settings.

Dependencies:

  • localization object (Shopify native)

Tailwind Status: Full (all styling via utility classes)

Usage

{% render 'language-switcher' %}