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

Abstract glowing visual with yellow and orange gradients, featuring the text “AI & DESIGN 2025” in the center, suggesting a theme focused on artificial intelligence and design in 2025.
Documentation
AI

How AI is transforming the Designer’s Role in 2025 (and why you won't be replaced)

How AI is transforming the Designer’s Role in 2025 (and why you won't be replaced)
Screenshot of the Webflow Partner directory showcasing several agencies: Digidop, Finsweet, Flow Ninja, and Simon Lampert. The blue background features the Webflow Partner logo on the left, while partner cards display their status, starting price, awards, and preview of delivered websites.
Documentation
Webflow

The Webflow Partner Program

The Webflow Partner Program
Agentic AI vs. Generative AI
Documentation
AI

Agentic AI vs. Generative AI: Key Differences and Real-World Applications

Agentic AI vs. Generative AI: Key Differences and Real-World Applications

Want to turn your website into your most valuable asset?

Contact us today