Variables
The Language Selector app block includes a set of customizable variables, allowing you to adjust its look and feel so it fits seamlessly with your store’s design. You can display language names, codes, and other details to create a clear and intuitive selection experience for your customers.
Below you’ll find the list of available variables and examples of how to combine them to build a selector style that best reflects your brand.
Available variables

{language}
Language name (e.g., "English", "Spanish").

{language_code}
Language code in ISO 639-1 format (e.g., "en", "es").
Why flags aren’t available in the Language Selector
Flags represent countries, not languages, and one language can be spoken in many countries. To avoid confusion and ensure accessibility, our Language Selector doesn’t include flags as a variable. This gives you a clean, consistent, and accurate language selection experience for your customers. Want to learn more? Read the full article “Why flags do not represent language” to understand why this design choice matters.
Last updated
Was this helpful?