Articles on: Selecty

Integration with Weglot

Selecty & Weglot


In this article:



Before proceeding, we strongly recommend coordinating your actions with the support teams of both applications. This will make the integration process smoother and faster.


✔️ How to Integrate Weglot and Selecty


There are two possible setup variants:


  • Variant 1: /nl - language code only
  • Variant 2: /en-nl - language + country code (or a custom shortcut, depending on your Weglot configuration)


Step 1: Unpublish non-default languages in Shopify.


When using Weglot, all languages and translations ​​are controlled by Weglot. Therefore, it is important to unpublish non-default languages ​​in Shopify.


  1. Go to the Shopify admin -> Settings -> Languages.
  2. Unpublish all languages except the default one.



Step 2: Enable subdomain or subdirectories in Weglot


  1. Open the Weglot app and go to the Projects section.
  2. Click Settings -> Setup.
  3. Enable the Subdomains/Subdirectories option.



Step 3 (Optional): Add Markets in Shopify


This step is required only for Variant 2.


It is necessary to create subdirectories for the default language in Shopify (for example, /en-nl) in order to match the subfolder structure used by Weglot.


Since the default language is managed through Shopify, we need to add resources through Shopify markets.


Note: The Weglot Advanced plan is recommended for this step, as it allows adding custom resources in Weglot.


  1. In your Shopify admin, go to Settings -> Markets.
  2. Select the market you need.
  3. Click the + icon next to the Domain language option -> select New subfolder.



  1. Enter manually the appropriate value in the Domain Suffix field.
  2. Click Done, then Save at the top of the page.


Step 4: Add resources in Selecty


  1. Open Selecty and go to the Resources section -> Click on Resource -> Add custom resource.



  1. Enter a name of the custom resource group and click Apply.



  1. Click Add resource and fill in the fields using the values created in Weglot.
  2. Make sure the Retain URL while switching checkbox is enabled to ensure correct URL behavior.



  1. Click Apply, then Save at the top of the page.


Step 5: Create selector in Selecty


  1. Go to the Selecty dashboard and click Create Selector.
  2. Choose a theme, apply the necessary customizations, and save your changes.
  3. Click Publish to activate the selector.


For more detailed guidance, refer to the article – Getting started with Selecty.


Step 6: Add Exclusion Rules in Weglot


When Weglot translates store content, it can also modify Selecty’ links. To prevent this, you need to exclude Selecty-related elements from translation.


  1. Open Weglot and go to the Translation Exclusions.
  2. Click Add Rule.
  3. Add the following files:


  • #_selectors.json
  • #sel-form



  1. Click Save Rule.


✔️ Need help?


Don’t worry if this feels technical - our support team can guide you through the process.


To get maximum support and resolve your issues quickly and efficiently, we recommend contacting the support of both applications:





Updated on: 07/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!