How to use Weglot with Shopify Markets?

In this article, you will see what is Shopify Markets and how to make it works with Weglot



What is Shopify Markets?

Shopify Markets have been created in order to allow users to create their own international e-markets to use their Shopify store and easily sell products in several countries all around the world. Basically, using just your Shopify store via your Shopify admin, you will have the capacity to manage sales in several countries.

Thanks to Shopify Markets, you have the capacity to deploy, manage and optimize international markets while using only one Shopify shop.

To know more about Shopify Markets, click here

Is Weglot compatible with Shopify Markets?

Yes, Weglot is compatible with Shopify Markets.

Indeed, Weglot is now proposing a subdirectory integration that is compatible with Shopify Markets.
Please note that this subdirectory integration is still in beta.
Moreover, to have Weglot working well with Shopify Markets, you will need to have a domain name ending with ".com" or ".net".

How to integrate Weglot with Shopify Markets?

Prerequisites

  1. The very first step is to choose, on Shopify, to use subfolder-type URLs. Subfolder-type URLs are URLs like "mysite.com/de" for the German version of your market. 
  2. The next step is to delete additional languages that you can have on your Shopify admin. To achieve that you can go to your Shopify Admin > Settings (in the bottom left) > Languages. If you have registered languages, unpublish them and delete them. They are something different from Weglot and can create some conflicts.
  3. Another important prerequisite is that you must manage your own domain name and not use a Shopify one (with the URL ending with .myshopify.com).

The integration

The next step is to activate the subdirectory integration (still in beta) on Weglot.
  • To do that you will have to go to your Weglot Dashboard > Settings > Setup (or click here) and click on «Enable/Disable Subdomains».

  • Click on « Next » and you will access the step called « Your DNS settings »
Some new steps will be displayed on your screen and you will have to follow them.
  • First, you will have to enter the following DNS record in your DNS provider:

    Name > _acme-challenge


    Type > CNAME


    Value or Target > will be given to you during the process on Weglot

  • Once you added this new DNS to your DNS registrar, go back to your Weglot account and click on « Check DNS ».
  • You will then have to wait a few minutes so that the SSL certificate is well validated, you can click on « Check DNS » to see if the certificate is validated.
  • A new DNS entry will appear on your screen and you will have to add it to your DNS registrar as you did with the previous DNS entry.
The DNS record you will have to add will be different depending on  if you have a subdomain in your URL (e.g www.mysite.com) or not (e.g mysite.com).
If you don't have subdomains in your URL:

The second DNS record will ask you to modify your A record.

Note that if you wish to remove the subdirectories integration, you'll have to set this DNS record back to its default setting before deactivating it.
So you might want to take a screenshot of your current setting before modifying it.

Also notice that you should  only have one A record and as a consequence, you don’t have to create a new one. The only thing you have to do is modify your existing A record, using the values displayed on Weglot.
You can safely change the target as Weglot will keep the connection between your domain name and the servers you are using.
This configuration is needed to add the subdirectories to your domain and to create the translations server-side.
If you have subdomains in your URL:

The second DNS record will ask you to add a CNAME record.

The process to follow here will be exactly  the same as the one you followed to add the first DNS record but with a different record. 
  • Once you added the second DNS, save the changes and click on « Check DNS ».
Finally, it will take a few minutes for your subdirectories to be initialized. 

Once they are initialized, you will have your website with the URLs of your translated languages looking like that: mysite.com/*language_code*
After the initialization of the subdirectories, please contact us at  support@weglot.com, so we can do some modifications on our side and create compatibility between Weglot and the markets.

If you are having any trouble during this process, do not hesitate to contact us at support@weglot.com.


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us