Badge Webflow Award Winner 2023

Automatic redirection of users to their language - Weglot

Automatically redirect website visitors to the translated version (thanks to Weglot) that corresponds to the default language of their browser

Published on 
10/1/2023
-
Amended on 
24/3/2023
-
5 min
Tuto Weglot Automatic language redirection

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

By using tools such as Weglot, you canautomatically redirect your users to the version of your site that matches their preferred browser language . This eliminates the need for users to manually select the language, ensuring a smoother user experience. In this article, we will guide you step by step 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 language, you must first have a Weglot account and have 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 move on to the next step.

Learn how to set up Weglot on Webflow

2. Enable browser language detection in Weglot settings

Log into your Weglot account and go to the"Settings" tab. In this tab, you will see an option called"Auto Switch". Activate this option by checking the toggle button!

Click on "Save changes" to save your changes.

automatic language detection weglot

That's it! Now, every time a user accesses your site with a browser configured to use a specific language, they will be automatically redirected to content in that language thanks to Weglot.

Now that your users are redirected to the right version, you can find out 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 subscriptions for Weglot 🎁

Ready to take your website to the next level?

Improve your online visibility thanks to Digidop's experience, excellence and reactivity!

Stay in touch with Digidop news!