Skip to main content

How to Set Up Multi‑Language Quizzes in Lantern

Wendy avatar
Written by Wendy
Updated today

Lantern supports multi-language functionality for quizzes through a feature called Automatic Language Redirect. If you want to offer your quiz in multiple languages, you’ll need to create a separate quiz for each one. Lantern then connects these quizzes seamlessly, so customers are automatically redirected to the correct version based on their selected store language.

Image showing the Automatic Language Redirects section in Lantern quiz Settings.

How It Works

Lantern does not combine multiple languages within a single quiz. Instead, each quiz is created separately for every language, and Lantern links them together so that users experience it as one unified quiz. When a shopper switches their store language, they are automatically redirected to the quiz that matches that language.

GIF showing automatic redirect between English, French, and Spanish quizzes when switching store language.

This setup only works for IN-STORE QUIZZES, since only the in-store version has access to the language context and details from Shopify.

Image showing the Publish tab in Lantern with “Option 1: In‑Store Page” selected and highlighted. This option is required for the multi-language quizzes to work.

Supported Transtation Apps

The multi-language feature functions with any translation app as long as multiple languages are added to the store.

Image showing multiple published languages in the Shopify admin.

Some examples of supported apps include:

  • Shopify Translate and Adapt

  • Weglot

  • Langshop

  • Hexom Ai

Language Structure and URLs

When a Shopify store supports multiple languages, each translated version is typically hosted on a different URL path, subdomain, or even domain. For example:

  • Path-based: example.com/fr for French, example.com/es for Spanish

  • Subdomain-based: fr.example.com for French

  • Domain-based: example.fr for French

This distinction is crucial when linking to a quiz. If you link to example.com/products/xyz, Shopify assumes the English version (since there’s no /fr or /es in the URL). To maintain the correct language, the full URL must reflect the translated path, subdomain, or domain.

Setting Up Multi-Language Quizzes

1. Add Languages in Shopify

Go to Settings → Languages, and add your desired languages using Shopify Translate & Adapt or another translation app. Once added, your theme will display a language selector in the store header or menu.

Image showing Shopify Settings > Languages page with multiple languages added.

2. Translate Interface Text in Lantern

In Lantern’s Translations tab, first click Add Language to add each language you want to support—just like when you added languages in Shopify. After adding French and Spanish (used here as examples), translate each interface element such as Go Back, Finish Later, Question, Email, and other labels for the selected language.

Image showing Lantern Translations tab with 'Add Language' button and translated text fields for French and Spanish (example languages).

3. Create and Translate Quizzes

  • Start with your main quiz (for example, the English version).

  • Duplicate the quiz for each new language.

  • Manually translate all questions and answers in each duplicate quiz.

  • Update the quiz’s slug (for example, your-pets-perfect-food-es for Spanish) and select the appropriate language from Theme Settings.

Image showing three duplicated quizzes (English, Spanish, and French) with updated titles and slugs.
Image showing the Theme Settings under the Lantern Quiz Builder, where the default language has been updated to Spanish for the Spanish version of the quiz.
Image showing the Theme Settings under the Lantern Quiz Builder, where the default language has been updated to Spanish for the Spanish version of the quiz.

4. Connect Quizzes with Automatic Language Redirect

In each quiz, go to Settings → Automatic Language Redirects. Here, you can:

  • Select a language from the dropdown.

  • Add the full URL to the corresponding quiz in that language (including the proper path or subdomain).

For example:

  • English: https://store.com/tools/pet-quiz-en?in-store=true

  • French: https://store.com/fr/tools/pet-quiz-fr?in-store=true

  • Spanish: https://store.com/es/tools/pet-quiz-es?in-store=true

Remember to include the correct language path or domain indicator—for example /fr, /es, or whatever your store uses for its translated version (like a subdomain fr. or a custom domain such as store.fr). Some users might mistakenly paste only their in‑store URL without that language‑specific portion, which would break the automatic redirect.

Image showing how to connect quizzes by adding URLs for each language in the Automatic Language Redirect section.

NOTE: Make sure to interlink all language versions with each other, so Lantern recognizes them as connected.

5. Link to the Quiz Correctly

In your Shopify navigation or buttons, avoid using the full URL (which forces the language back to English). Instead, use a relative path like:

/tools/perfect-product-finder/your-quiz-slug?instore=true

This keeps the customer in their current language version of the store. It doesn’t matter which quiz slug you use (English, Spanish, or French) as long as it’s the relative path, not the full URL — Lantern automatically preserves the selected language context.

Image showing the Shopify navigation menu where the relative path is added instead of the full URL for multi-language quizzes.

Common Mistakes to Avoid

  • ❌ Linking with a full URL (https://store.com/...) — this resets the store to English.

  • ❌ Forgetting to include /fr or /es in the URLs when adding redirects.

  • ❌ Using standalone or embedded quizzes — the feature only works for in-store quizzes.

Recap

  • Create separate quizzes for each language and translate them manually.

  • Connect them using Automatic Language Redirect under Settings.

  • Always link using relative paths to preserve the language context.

  • Works with any translation app or theme.

Once properly configured, customers are automatically redirected to the quiz in their selected language, creating a seamless multi-language experience for your store.

Did this answer your question?