General Integration - Integration / Setup
Translate your website with Weglot
This general setup guide describes how to translate your website with Weglot.
You can integrate Weglot into your website in 3 different ways:
- Subdomains integration
- Subdirectories integration (still in beta)
This integration is better for SEO since it hosts your translated pages on subdomains (like fr.mysite.com) or subdirectories (like www.mysite.com/fr), and you have a dedicated URL for each language. That means your translated pages inherit the authority you've built on your original website.
It can take 15 minutes to install and requires you to add DNS record entries (feel free to contact us if you need some help).
To use one of these integrations, you will need to have your own domain name. If you haven’t bought or connected your DNS to your website already, don’t choose this integration yet. You will need to create subdomains or subdirectories, so you need to access the DNS records area of your domain name.
Step 1: Create an account on Weglot (~ 1 minute)
You'll find and manage all your translations on this account. Simply create a Weglot account here.
Step 2: Select your website technology / CMS
Select your website technology. If it isn't available, select “Other”.
Step 3: Choose languages
After validating your email, you will land on the setup page of Weglot. Enter your website's URL (you must enter your own domain name, like mywebsite.com), not a URL generated by your CMS.
Then, specify the original language of your website (the language in which your website was initially created) and the languages you want to translate it into.
In the example below:
- the domain is: www.mywebsite.com
- the original language is: English
- the translated language is: French
- the integration is the subdomain integration
Click “Next” to go to the next step.
Step 4: Enter your new DNS entries
In this step, you will add new DNS entries to your DNS record.
If you chose the subdomain-based integration, you'll need to enter a CNAME entry for each translated language (in this example, there's only one CNAME entry needed for the "fr" subdomain).
If you chose the subdirectory-based integration, you'll need to enter/edit two DNS entries in your domain name registrar. The value of each entry depends on your website.
If you bought your domain name via your CMS platform, then you should be able to add new entries (CNAME / Aliases) to your DNS records directly inside your CMS admin.
Otherwise, if you bought your domain on an external provider (like GoDaddy, 1&1, Gandhi, etc.), you can add the new entries (CNAME / Aliases) directly to this external provider account. If you are not sure how to do it or where it is, don't hesitate to reach out to us at firstname.lastname@example.org.
Step 5: Validate the DNS entries
After adding and saving your entries, go back to your Weglot account tab. Click “Check DNS”. If everything goes well, you should see a green check icon instead of the red cross. It means the DNS entries were successfully configured. Then, click on “Next”.
Step 7: It’s done!
Try changing the language when the language switcher appears, you should see your translated website!
Step 8: Start editing your translations
You can now review and manually edit your translations in your Weglot account.
Log in to your Weglot Dashboard and then go to Projects > Your project to find all your translations and edit them.
Have any feedback on this article? Let us know!