Skip to main content
All CollectionsPro tips
How to Set Up Sauce’s Multi-Language Support via Hreflang
How to Set Up Sauce’s Multi-Language Support via Hreflang

This article explains how to use Hreflang tags to keep customers in the correct language on your site with Sauce’s multi-language feature.

James Riley avatar
Written by James Riley
Updated over a month ago

Sauce’s multi-language feature keeps customers on the correct language as they browse. If your store setup is already correct, you may not need to change anything! However, if clicking on product tags on your Sauce Media isn’t keeping customers in the right language, follow the steps below to fix it.

1. Understand the Problem

Let’s say you have a product page for a “cat t-shirt” in both German and Portuguese. Each language has its own unique URL:

To let Sauce and search engines know which pages belong to which languages, we use something called Hreflang Tags.

2. Add Hreflang Tags to Your Pages

Hreflang Tags tell search engines and Sauce which languages your product pages are available in. Here’s how to set it up:

Open your product page code for each language.

Add these Hreflang Tags in the <head> section of your HTML. Here’s what it might look like:

<link rel="alternate" hreflang="de"
href="https://de.example.com/products/katze">

<link rel="alternate" hreflang="pt"
href="https://pt.example.com/products/gato">

<link rel="alternate" hreflang="x-default"
href="https://de.example.com/products/katze">

3. What Each Tag Does

• hreflang="de" links to the German page.

• hreflang="pt" links to the Portuguese page.

• hreflang="x-default" sets the default page (in this example, German).

4. Check Your Work

Once your Hreflang tags are set up, Sauce will automatically direct customers to the correct language version as they explore your site through Sauce Product Tags.

Need More Help?

If you have questions, feel free to send us a message!

Did this answer your question?