Automatic redirection of users to their language - Weglot

Tutorial
March 20, 2023
3 min
Weglot Tutorial Automatic Language Redirection
Key points

Offering a smooth and personalized user experience is crucial for ensuring the satisfaction of visitors to your multilingual website. Automatic browser language detection is an effective way to achieve this.

By using tools like Weglot, you can automatically redirect your users to the version of your site that matches their preferred language. This eliminates the need for users to manually select a language, thus guaranteeing a more seamless user experience. In this article, we will guide you step by step on how to implement this feature on your website using Weglot.

1. Install the Weglot tracking code on your website

Before you can use Weglot to automatically redirect users to their browser's language, you must first have a Weglot account and installed the tracking code on your website. If you don't have a Weglot account yet, you can create one for free on the Weglot website.

Once you have installed the tracking code on your site, you can proceed to the next step.

Learn how to set up Weglot on Webflow

2. Enable browser language detection in Weglot settings

Log in to your Weglot account and go to the "Settings" tab. In this tab, you will see an option titled "Auto Switch". Enable this option by toggling the switch!

Click "Save changes" to apply your modifications.

automatic language detection weglot

And there you go! Now, whenever a user accesses your site with a browser configured to use a specific language, they will be automatically redirected to content in that language through Weglot.

Now that your users are directed to the correct version, you can explore how to add translation rules from Weglot and discover how to translate your website's SEO settings!

By using the promo code DIGIGLOT, you can get a 20% discount on all your new Weglot subscriptions.

Thibaut Legrand
Thibaut Legrand
Technical Solutions Architect & Webflow Expert

Suggested articles

Webflow Localization, Credial's Use Case
Documentation
Webflow

Webflow Localization: Practical Guide & Credial's Use Case

Webflow Localization: Practical Guide & Credial's Use Case
Visuel showcasing digidop.fr switching to digidop.com
News
Digidop

Digidop.fr is now Digidop.com

Digidop.fr is now Digidop.com
Photo of the Digidop team with the Digidop Logo 2024
News
Digidop

A Look Back at an Exceptional 2024 and Vision 2025

A Look Back at an Exceptional 2024 and Vision 2025

Want to turn your website into your most valuable asset?

Contact us today