BigCommerce - Integration / Setup

This article explains how to setup Weglot to make your BigCommerce website multilingual.

You can integrate Weglot in 2 different ways :

  • Javascript integration: Quick and easy, you will simply copy paste a Javascript code in BigCommerce. It takes 5 minutes to install and doesn’t require any knowledge.
  • Subdomains integration: Your translated pages will be on subdomains like (fr.mysite.com). It can take 15 minutes to install and requires you to add a DNS record entry (but we provide help if you need!) This integration is better for SEO as you have subdomains for languages.

Javascript integration

1) Create a Weglot account

This is where you will get all translations and where you will be able to manage the translations. Simply create your Weglot account here


2) Choose the Javascript integration

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

3) Choose languages

Select the original language of your website (the language in which your website is originally in) and the languages you wish to translate to.

In the example, the website is in English and I choose to translate in French.
Click “Next”.

4) Copy the code snippet

You will see the code snippet you need to copy.

5) Paste the code snippet

In your BigCommerce admin, go in Storefront > Script Manager and click “Create Script”. 

Enter the name and the description as you wish and fill in the fields as follows:

  • “Location on Page” : Head
  • “Select pages where the script will be added”: All pages
  • “Script type”: Script
  • Script Content: Here, you paste the code from your Weglot account

Finally, click “Save”.

6) You're all finished!

Now head over to your website and refresh the page you will see the language button appear on the bottom right. 

Try changing language and you should see the automatic translations on your website!

7) (Optional) Edit Your Translations

You will find all your translations in your Weglot account, under “Translations”.
There, you can modify all your translations

Subdomains integration

PREREQUISITE

To use this integration, you will need to have your own domain name already. If you haven’t bought your domain already, don’t choose this integration. Indeed, you will need to create subdomains so you need to access the DNS records area of your domain name.

1) Create your Weglot account

This is where you will get all translations and where you will be able to manage the translations. Simply create the Weglot account here

Create a Weglot account

2) Choose languages

After you validate the email, you will arrive on the setup page of Weglot. Enter your website URL (You must enter your own domain name, like mywebsite.com)

Then, select the original language of your website (the language in which your website is originally) and the languages you want to translate into. 

In my example, my website is english and I choose to translate in French.
Click “Next”.

3) Enter your DNS records

Enter the DNS records that are shown to you in your DNS Record Zone. Depending where you bought the domain, it can be at several place

  • If you bought the domain in BigCommerce: It’s in Server Settings > Email & DNS Records
  • If you bought your domain on a external provider like GoDaddy, 1&1, Gandhi,… : In this cas, it’s directly in this external provider account

If you need any help for this, you can send us an email to support@weglot.com with the BigCommerce admin access and we will do it for you!

4) Validate DNS

After you enter the DNS, click “Check DNS” and after a few minutes, it should become green. If it doesn’t, it means you haven’t enter the DNS records properly. Once all DNS are green, click “Next”

5) Copy/Paste the Javascript snippet

Now your subdomains are being setup, it can take several minutes. You will need to add the Javascript library. Copy Javascript code that is shown to you:

In your BigCommerce admin, go in Storefront > Script Manager and click “Create Script”. 

Enter the name and the description as you want. And fill up as following:

  • “Location on Page” : Head
  • “Select pages where script will be added” : All pages
  • “Script type” : Script
  • Script Content : Here, you paste the code from your Weglot account

Finally, click “Save”.

6) You're all set!

Now head over to your website and refresh the page you will see the language button appear on the bottom right. 

Try changing language, you should see the automatic translations on your website!

7) (Optional) Edit your translations

You will find all your translations in your Weglot account, under “Translations”.
There, you can modify all your translations

Still need help? Contact Us Contact Us