Webflow - Integration / Setup
Video guide: Want a quick & easy explanation on how to set up your Webflow site with Weglot? Check out our video tutorial on how to integrate Weglot into your Webflow website!
1. Create an account on Weglot (~ 1 minute)
This account is where you’ll be able to view and manage all of your translations. Simply create a Weglot account here.
2. Enter your domain name and the languages you want (~ 1 minute)
In this step, you need to enter your domain name and the languages you want.
**DO NOT ADD YOUR TEMPORARY domain name ending with .webflow.io.
- the domain is weglot-translate-wbflow.com
- the original language is English
- the translated language is French
Click on the “Next” button to go to the following step.
3. Configure the subdomains in the DNS records (~ 5 minutes)
This is the step where you configure your DNS to create and connect the subdomains.
On your Weglot account setup, you’ll see the following DNS entries to add (Note: this example is for setting up French):
For the purposes of this example, we’re using Google Domains as our domain name provider – most other host providers will look similar to this one. But, please contact us at email@example.com if you need help with this step.
Now, go to your domain name provider account and to the section or page where you can manage the DNS (for instance, in Google Domains, it’s located under a tab on the left-side menu bar called DNS).
At this stage, you should be able to create new entries in the DNS section on your screen (in our example it’s in the section “Custom resource records”). Select CNAME as the type of entry.
Enter “ fr” (for those adding French) under the “Name” section and “websites.weglot.com” under the "Data" section.
If you have any issues figuring out where to find or how to update your DNS records, we can help you. Just email us at firstname.lastname@example.org.
Once you have added and saved the entries, go back to the Weglot page. You can click on “ Check DNS” and a green check-mark icon should appear: this means everything has been successfully set up (This can sometimes take a couple of minutes or even 10, so don’t be alarmed if the green check-mark icon hasn’t appeared next to your DNS record yet). Click "Next".
4. Install the Weglot library (~ 3 minutes)
This is the final step, where you will add the language-switch button to your Webflow website, and customize some of the app settings.
It’s quick and easy, you just need to follow the steps below (also shown in the GIF below).
- Go to your Webflow admin area, then click on “Settings” > “Custom Code” (the last tab at the right)
- Go to “Head Code”, and you should see a field that’s titled “Add code at the end of the <head> tag:”
- Click on the green button, “Save Changes”.
- Publish your changes, clicking on the blue button at the very top right.
You’re all done!
Finished! Go to your website, and you’ll see the language-switcher button appear at the very bottom right. Give it a few minutes to make sure your subdomains are properly set up, then you can try changing the language, and you’ll see your translated pages.
Bonus: we’ve created some Webflow language switchers that you can clone and add to your website! Check them out on our Webflow UI Kit.