Hello!
We just published our webshop in two different languages. To make it easier to see how to change the language, I would like to add a flag to the option instead of it being a text (see image) on the header.
We currently use theme Impact version 6.5.0.
I already tried at bunch of youtube videoes, but it seams not to work with ours theme. I’ve also tried some apps, but none of them have a suitable design for our site.
Hello,
Are you currently using the default language selector provided by the theme? It appears that version 6.5.0 of the Impact theme includes an option to display country flags:
Have you tried enabling this option?
Hi @alfredbjornerod ,
Please send the website link, I will check it for you
Hi @alfredbjornerod
if you customizing the theme use the country object and image_url filter:
https://shopify.dev/docs/api/liquid/objects/country#country-rendering-a-flag-image
If you need deeper customization then contact me for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Good Hunting.
Hi! Yes I’m using the default language selector provided by the theme, but I think this adds flag to the market (if your selling across nations), this option is for me not available on the language selector. We have only Norway as a market, but norwegian and english as languages.
I was able to fix it myself thanks to AI. I replaced text with flags in the language selector by uploading flag SVGs, modifying the localization-selector code to use
tags. Now it looks like this: