I have a multilingual Shopify store with language subdirectories (.com/ar for Arabic and com/de for Deutsch ) . However, when I click on a menu item in the Arabic version, it redirects to the English version instead of staying in the selected language. How can I make menu links language-specific so that they point to the correct localized URLs?"
Hi there @issamboss I believe this article here from the official Shopify site should show you how to do this as smoothly as possible https://help.shopify.com/en/manual/international/languages/translate-adapt-app
In my opinion, the following steps are essential for setting up a multilingual Shopify store.
Step-by-step Fix:1. Create Separate Navigation Menus for Each Language
Go to your Shopify Admin:
Online Store → Navigation → Add Menu
Create distinct menus such as:
-
Main Menu - English
-
Main Menu - Arabic
-
Main Menu - German
-
Add Localized URLs to Each Menu For each language-specific menu, make sure the links include the proper language subdirectory:
-
Arabic:
/ar/collections/jewelry
/ar/pages/about-us -
German:
/de/collections/jewelry
/de/pages/ueber-uns -
English (default):
/collections/jewelry
/pages/about-us
-
-
Assign Menus Based on Language
If you’re using a translation app like Shopify Translate & Adapt, you can assign different menus to each language in the app or theme settings. -
Use a Multilingual Strategy
A great example is https://goldprice.tr, a multilingual gold price website that uses language-specific paths like /ar, /en, or /tr to ensure users stay in their selected language when navigating. Your Shopify store can follow the same structure to enhance user experience and SEO.I hope this will resolved your issue.