This integration, due to being custom code, is outside of Unstack support's scope, learn more.
What is Weglot?
Weglot allows you to make your Unstack site multilingual in minutes and to manage all your translations effortlessly.
How do we connect?
Weglot is not an integration built nor managed by Unstack. You'll connect this integration by first configuring the Weglot provided DNS records, then you'll add their custom code to your site through a custom integration.
- Create an account with Weglot - this is also where you’ll manage your translations.
Once registered, give a name to your project and choose your website technology. For Unstack users this would be ‘Other’.
- Next, add your domain name, current website language, and then the languages you want to add to your website.
Now it’s time to create your language subdomains e.g. fr.mywebsite (French example) - these are important for multilingual SEO.
Your current screen on your Weglot account set up will show the following (the language code will depend on the languages you’ve added to your website).
You will then need access to your domain name provider (or, DNS host).
Find the ‘DNS’ tab and create new entries in the section that will be called something like ‘custom resource records’.
Select CNAME as the ‘type’, enter your 2 letter language code given in the previous step in the ‘name’ section and ‘websites.weglot.com’ in the ‘data’ section. Tutorials for different domain name providers can be found here.
Example Google Domains:
Head back to your Weglot Dashboard and click on the green ‘Check DNS’ button.
This might take a few minutes, so don’t be concerned if it hasn’t changed to green immediately.
The final step is to add your language switcher. Copy and paste the piece of code available in your Weglot Dashboard into your Unstack dashboard. Go to ‘Integrations’ > Custom > and click on the +.
Name the integration ‘Weglot’ make sure ‘Page Placement’ is ‘Head’ then paste the code in the box:
And Click ‘Save integration’. Your multilingual Unstack website is now live.
Examples of this
translate-unstack.com is a Weglot powered site, check out the site in different languages:
- es.translate-unstack.com (Spanish)
- fr.translate-unstack.com (French)
- de.translate-unstack.com (Dutch)