One menu can speak every language of your store. Type the default text first, then add each translation in angle brackets.
1Write the syntax
Open Edit item. In the Text field, type the default text, then <code: translation> for each language. Example: Home <fr: Maison> <es: Inicio>.
2See what customers get
Navi+ checks the language of the page and shows the matching text. If there is no match, it shows the default text.
3Use it in Sub text and Link too
The same syntax works in the Sub text and Link fields. For example, send French customers to a French page: /pages/about <fr: /fr/pages/a-propos>.
4Add a language switcher
Click an item, then open Link to and go to the Change language section. Choose one of two options:
- Language switcher (
open:Language): opens a pop-up with every store language. Customers tap the one they want. - Change language (
open:ChangeLanguage(fr)): switches straight to one language without changing the page address. Pick the language in the drop-down, then click Apply.
The language switcher needs two or more languages turned on in Shopify, under Themes > Languages or Markets. On Shopify, typing translations needs the Business plan or higher.
More details
Which language code do I type?
Use the two-letter language code. Common ones:
| Code | Language | Code | Language |
|---|---|---|---|
en |
English | ja |
Japanese |
fr |
French | ko |
Korean |
de |
German | zh |
Chinese |
es |
Spanish | ar |
Arabic |
it |
Italian | nl |
Dutch |
pt |
Portuguese | vi |
Vietnamese |
Use the code Shopify uses for the language, not the folder in the address. To check, open your store in that language, press F12 › Console, and type Shopify.locale. Some SEO tools show codes like en-EN or english in the address. You can still type the short code.
Languages with a country, such as fr-ca
The fr code also matches fr-fr and fr-ca. To set a specific country, add both, for example <fr: Accueil> <fr-ca: Accueil Québec>. The country version wins on /fr-ca/.
Add flag icons to a language switcher
Flags are optional. Download small flag images from a site such as Flaticon, then upload one as the icon of each item. Give each item its own open:ChangeLanguage(code) link.
Want Navi+ to translate for you?
Let AI do the typing. See Translate your menu into several languages. AI skips the items you translated by hand.