Ecommerce Shopify WordPress Discussion

Exclude words on shopify from google translate

I am looking for a solution to exclude the email info@vanea-barfussschuhe.com from translating when using Google Translate on the entire shopify store. The reason is, it becomes info@vanea-barfussschuh.com and does not match the data in GMC (google merchant center), which results in a policy violation… I am using the Sense theme from Shopify. english, incorrect german, correct I have already tried the following, but none worked or maybe I did it incorrectly, I have limited experience but I must resolve this, so any help would be highly appreciated. Writing the address as an HTML entity info@vanea-barfussschuhe.com Adding the class “no translate” in the different .json shopify files, always came back with an error “unexpected token”...
You can now add class="notranslate" to any HTML element to prevent that element from being translated. Google Search Blog First and easy option is to add a new section of type liquid-code on homepage and render custom HTML markup with notranslate class. Something like <h4 class="notranslate">✉ info@vanea-barfussschuhe.com</h4> Second option is to edit the section file and add notranslate class. For that, Edit theme code -> sections -> rich-text.liquid Line 45-55 is what renders the rich text field that you are using. {%- when 'text' -%} <div class="rich-text__text rte{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}" {{ block.shopify_attributes }} {% if settings.animations_reveal_on_scroll %} data-cascade style="--animation-order: {{ forloop.index }};" {% endif %} > {{ block.settings.text }} </div> Add notranslate class like this and rest of the code should remain same. {%- when 'text' -%} <div class="notranslate rich-text__text rte{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}" {{ block.shopify_attributes }} {% if settings.animations_reveal_on_scroll %} data-cascade style="--animation-order: {{ forloop.index }};" {% endif %} > {{ block.settings.text }} </div> However, this will make all the rich content fields in rich-text section non translatable. Ideal solution is to add a new type of field in this section that allow you to control the markup or something.

December 30, 2023

TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.