it seems a bug been introduced today where the links on a default domain of a store all incorrectly point to the English subfolder. Notably, Shopify.routes.root also reflects this error:
Example data:
Shopify.locale = “ja”;
Shopify.country = “JP”;
Shopify.routes.root = “/en/”;
Unfortunately, I have not been able to reproduce this issue on my development store, but we’re getting a high amount of reports on this issue from our merchants.
Could you kindly look into this? In case you need any further information, please let me know.
Same issue here since today, on a store with Romanian as the default language (Romania market: / = Romanian, /en = English; separate EU market on /en-eu).
For any visitor without a saved localization, the Romanian pages render with the English root:
routes.root_url in Liquid returns /en too, so every link on the Romanian pages (menus, product cards, logo, cart forms) points to /en/.... Returning visitors with an existing session and theme previews (?preview_theme_id=) render correctly with /. It was fine on 25 Sep, and no theme or Markets changes were made since. Turning off “Automatic redirection → Language” doesn’t help.
We’re also contacting Shopify Support. As a stopgap we added a small theme script that, only when request.locale is the default language and routes.root_url != '/', strips the /en prefix from links, forms and Shopify.routes.root. Happy to share it if it helps anyone.
@Shopify, could someone confirm this is being looked at?
We’re seeing this across multiple merchants as well.
From what we’re seeing, the issue is not the initial language selection itself, but that during storefront navigation Shopify is generating the next links with the wrong language path, which sends buyers back to English
It would be greatly appreciated if someone from Shopify could keep this thread updated once a fix is being deployed or has been fully rolled out, since multiple partners and merchants are currently tracking it here cc @Liam-Shopify
Same here, we’re reproducing this issue on all of our clients’ stores using language subfolders (agency side, several multi-language Markets setups).
Our observations match what @senabre described: the initial language resolves correctly, but links generated during navigation point to the /en path, so buyers get sent back to English.
+1 on keeping this thread updated once a fix is being rolled out. Happy to share store URLs privately with the Shopify team if it helps the investigation. cc @Liam-Shopify