Automatic redirection of users to their language - Weglot

Tutorial
March 20, 2023
3 min
Weglot Tutorial Automatic Language Redirection
Use AI to summarize this article
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

A woman speaks on stage at a conference, wearing a headset microphone. Behind her, a large black screen displays the question “What then?” in bold white text.
Events
Webflow

Digidop attends FLOWconf 2025, the biggest Webflow & marketing event in Europe.

Digidop attends FLOWconf 2025, the biggest Webflow & marketing event in Europe.
Visual overview of several modern web typefaces in 2025, each displayed on a vibrant background: Editorial New, DM Serif Display, Aeonik, SF Pro Rounded, Rader, Champ, Monument, Canicule, Clash Display, Supply, Agrandir, and more — a graphic composition highlighting typographic diversity.
Documentation
Design

The 20 Best Fonts for a Modern and Impactful Website in 2025

The 20 Best Fonts for a Modern and Impactful Website in 2025
Mosaic of homepage designs from several Webflow agencies (Digidop, N4, Refokus, Flow Ninja, Tonik, Finsweet, Edgar Allan), showcasing diverse creative approaches and visual identities centered around the Webflow logo.
Storytelling
Webflow

My Top 7 Webflow Agencies in 2025 (From a Founder’s Perspective)

My Top 7 Webflow Agencies in 2025 (From a Founder’s Perspective)

Want to turn your website into your most valuable asset?

Contact us today