How to exclude content from being translated in my store?

Modified on Mon, 11 Nov at 8:19 PM

If you’d prefer certain content not to be translated due to the limitations of auto-translation technology in Convercy, you can customize your theme code to ensure select items, like brand names, product titles, and variants, remain untranslated.


Below are steps to guide you through the customization process. Basic knowledge of HTML and CSS is required, and please be aware that we are not liable for any changes this may cause in your store's performance.


Step 1: Access Theme Code

From your Shopify admin, go to Sales channels > Online store > Themes. Select your active theme, click the three dots (⋮), and choose Edit code.


Step 2: Apply the notranslate Class

Find the HTML element containing your content and add notranslate to its class attribute.


If there’s no existing class attribute, add one like this: class="notranslate"


Step 3: Exclude Specific Content Using notranslate


1. To prevent the brand name in the browser tab title from being translated:

  • Open theme.liquid.
  • Find the <title> element and add the notranslate class to ensure the brand name remains in its original language.


2. To prevent translation of Product Titles:

  • Search for "product" in the code filter box.
  • Open files such as main-product.liquid or featured-product.liquid (file names may vary).
  • Use Command + F (Mac) or Ctrl + F (Windows) to locate "product.title" or "product_card.title" and add the notranslate class.



3. To prevent translation of the Product Vendor name:

  • Locate the element with "product.vendor" or "cart-product.vendor" and apply the notranslate class.



4. To prevent translation of product variants and options (e.g., size, color):

  • File structures for variants vary by theme. Search for "variant" or specific option names (like "size" or "color") in your theme files, and add the notranslate class to the relevant elements. Follow similar steps for any other elements you wish to exclude from translation.



Should you need any further assistance, please do not hesitate to contact us directly at support@convercy.app

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article