We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Locking markets and languages together

Locking markets and languages together

Sadea
Excursionist
80 0 6

Hello,

 

My store is www.sadea.dk

The theme is Impact 6.8.0

 

I recently added markets to my store and 6 different languages. 

Regarding the language/market switcher, is there any way to automatically let Shopify change the language, that most likely is most appropriate for the specific market? For instance, when I choose France, I want the language to change to french automatically, however it remains at the previous language, I chose myself. Is there no way to automatically change this, so that the markets and languages are locked together?

 

Also, as you might notice in the video, sometimes the market I press and the market it directs me to are different. The first click, I press France, but it redirects me to Germany? Why is this? It happens often.

 

I hope someone can help me with these issues.

 

Thank you very much in advance!

 

Best regards,
Malte.

Reply 1 (1)

Dotsquares
Shopify Partner
460 29 61

Hi @Sadea 

Thank you for reaching out and for sharing the details about your store setup.

You're absolutely right in expecting the market and language experience to work more seamlessly — let me clarify a few things:

1. Automatically Linking Language with Market Selection
At the moment, Shopify does not automatically switch the language based on the selected market by default. The language preference is stored in the browser’s local storage or cookies, which is why it retains the previously selected language even after changing the market.

To create a better experience where each market auto-switches to its associated language (e.g., France → French), you can:

Use deep links in your market selector that include both the domain/subfolder and the language parameter.

Implement custom logic (via JavaScript or theme code) to redirect users to the correct language URL when a market is selected.

If you're using a third-party app or Shopify Markets Pro, some of these settings might be more manageable through app configuration.

 

2. Incorrect Redirection (e.g., France → Germany)
This sounds like a possible caching or JavaScript issue — especially if it’s not consistent. A few things to check:

Theme or app conflicts: If you have a language or market switcher app, it might be overriding the intended logic.

URL structure and redirection rules in Settings > Markets.

Browser cache or cookies retaining previous selections.

You can also try this in an incognito window to rule out local session issues.

 

Next Steps:
We recommend reviewing your Markets settings in Shopify admin to ensure each market has its corresponding domain/subfolder and published language.

If you're comfortable modifying the theme, we can help guide you with a simple script to improve the language sync with market selection.

 

Dotsquares Ltd


Problem Solved? ✔ Accept and Like solution to help future merchants.


Shopify Partner Directory | Trustpilot | Portfolio