Documentation

Wix Setup Guide

This setup guide describes how to translate your Wix website with Weglot.

Step by step guide to make Wix multilingual

This setup guide describes how to translate your Wix website with Weglot.

Introduction

You can integrate Weglot in 2 different ways:

  • JavaScript integration:  Quick and easy integration. Simply copy paste a short Javascript code snippet into the appropriate space on your Wix admin dashboard. It takes 5 minutes to install and doesn’t require any coding knowledge.
  • Subdomains integration: More in-depth and better for SEO. Your translated pages will each have their own subdomains, such as (fr.mysite.com) for a French-language page. This takes up to about 15 minutes and requires you to add a few entries to your DNS records (and we can provide help with this if you need!). This integration is better for SEO as you have a dedicated URL for each language.

JavaScript integration

1) Create a Weglot account.

This account will be the place where you have all your translations and where you will manage them. Simply create a Weglot account here.

wix-signup

2) Choose the “JavaScript integration” option.

After validating your email, you will arrive on the Weglot setup page. Scroll down to the part “Other possible integrations” and click on “Use Javascript integration”

javascript-translate

3) Choose languages

Specify the original language of your website (the language in which your website is originally created) and the languages you want to translate it into. 

Specify the original language of your website (the language in which you created your website) and the languages you want to translate it into. 

In the example below, the website was originally in English, and will be translated into French.

Click “Next”.

translate-languages-javascript

4) Copy the code

Simply copy the JavaScript code snippet shown to you.

5) Paste the code

Go to your Wix admin area. Once there, click on Settings > Tracking Tools & Analytics (at the very bottom of the left menu, under “Advanced Settings”).

  • Click on “+ New Tool” and “Custom”
  • Paste the JavaScript snippet previously copied
  • Under “Add Code to Pages”, in “All pages”, select “Load code on each new page” in the dropdown
  • Click on “Apply”

6) It’s done!

Go to your website, and you should see the language button at the bottom right. It might take a few minutes for it to appear. Try changing the language, and you should see the automatic translations on your website!

7) Start editing your translations

You can now review and manually edit your translations in your Weglot account. Log in to your Weglot account, then go to “Translations” to find all your translations and edit them.

Subdomain integration

IMPORTANT REQUIREMENT

To use this integration, you will need to have your own domain name already (mywebsite.com instead of mywebsite.wixsite.com). If you haven’t bought your domain already, don’t use this integration method. You will need to create subdomains so you need to access the DNS records area of your domain name.

1) Create your account on Weglot

This account will be the place where you can view and manage all your translations.

wix-signup

2) Choose the “Subdomain integration” option.

After validating your email, you will arrive on the Weglot setup page. Scroll down and click “Use Subdomain integration”.

wix-subdomains-integration

3) Add your new languages

Enter your website URL, the original language of your Wix site + the new languages you want to translate and display your site into. 

add-languages-wix

Click ‘Next’ and the below will be generated (your DNS records). This will be different depending on the languages you choose, the example below shows French. You will need this in the next step!

4) Setup language-specific subdomains

Here you’ll create and connect your language specific subdomains e.g. fr.mysite.com (example for French) which is where your translated content will appear.

This requires you to copy and paste the line of text (DNS) from step 2. Go to your Wix dashboard > ‘Settings’ > ‘Domains’.

Weglot Wix DNS setup

Click on the “Advanced” tab, as seen below.

Then the ‘Edit DNS’ blue button to the right. A message will appear, just click ‘Got It’. You’ll then see the view below. Click ‘+ Add another’ in the ‘CNAME (Aliases)’ section.

Your domain name will then automatically appear in the left hand column. Add the language indicator in front of it, with a full stop after it e.g. fr.mysite.com. Then in the right hand column add ‘websites.weglot.com’ (as seen in the red highlighted section below).

Click on the blue button “Save DNS” at the top right.

Now go back to your Weglot account, click “Check DNS” and you should see a green tick icon; this means it worked! Click on “Next”.

Bought your domain outside of Wix?
The process will differ slightly. You will need to go to your account of your domain name provider and access the DNS section to add the entries. If you are not sure how to do this or where to find your DNS records, we can help you. Just email us at support@weglot.com.

5) Add your language switcher

This is a switcher that will be placed on the front-end of your site so your website visitors can switch between the language of their choice.

  • In your Wix dashboard go into your ‘Settings’ > ‘Tracking & Analytics’ (one of the last options in the left hand menu) 
  • Click on ‘+ New Tool’ and ‘Custom’
  • Paste the JS code provided on your Weglot dashboard ‘Project settings’. In the option ‘add Code to Pages’ select ‘Load code on each new page’. Note: in the GIF below, your actual API key (found in your Weglot account settings) should replace “YOUR_API_KEY”:
Weglot Wix Setup guide JS

7) It’s done!

Go to your website, and you should see the language switcher at the bottom right. It might take a few minutes to make sure the subdomains are properly setup, and for the language-switch button to appear. 

Try changing the language when the button appears, and you should be able to see all the translated versions of your website!

8) Start editing your translations

You can now review and manually edit your translations in your Weglot account.

Log in to your Weglot account and then go to “Translations” to find all your translations and edit them.

READY TO GET STARTED?
Make your Wix website multilingual within minutes
Cookies settings
We use cookies to collect and analyze information on site performance and usage, to provide social media features and to enhance and customize content and advertisements. Learn more with our Privacy policy
Necessary cookies

Some cookies are required to provide core functionality. The website won’t function properly without these cookies and they are enabled by default and cannot be disabled.

Non-necessary Cookie Settings

Any cookies that may not be particularly necessary for the website to function and is used specifically to remember preferences or to help us improve our website by collecting and reporting information on its usage.

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customize content and advertisements. Learn more with our Privacy policy