Insert Google Translate widget to your Helpcenter | Community
Skip to main content

Insert Google Translate widget to your Helpcenter

  • October 24, 2017
  • 35 replies
  • 0 views

Show first post

35 replies

  • November 12, 2020

Hi Ron! Another Dutchy here.. 🇳🇱

You can safely hide the web widget based on a URL (or any other JS variable).

if (window.location.href.indexOf('.es') > -1) {
zE('webWidget', 'hide');
}


Ps. if you use chat in the widget, make sure the widget is not hidden on pages when a chat has started or the customer won't be able to keep chatting everywhere.


Ron14
  • November 12, 2020

Hi Kay, 

 

Dankjewel! :) 

I'll check that out when we're onboarding our Spanisch customer. 

 

Regards,

Ron

 


  • February 13, 2021

Why I added the code according to the steps, but Google Translator does not appear


Brett13
  • Community Manager
  • February 18, 2021

Hey Carl,

I was able to find an external article that may help embed Google Translate into your website: How to Put Google Translator Tool on Your Blogs and Websites

That article was recently updated so hopefully that gets you what you're looking for!


Gaurav15
  • June 11, 2022

Go to our help center of edistera and you can try it out.

(I have one small issue that I must have the "open a ticket" page in Hindi, however I do not want to offer google translation of the articles to Hindi, so I didn't add Hindi to the google translate options, but I did add it in the built in Zendesk language menu all the way on the right. If I didn't need that support ticket page in Hindi I would completely remove that built in Zendesk language menu option). Let me know what you think.

thanks


  • July 27, 2023

Hi! 

That's an awesome post. Thanks for the tips and great explanation.

I'm heaving some trouble here and was wondering if somebody can help me. 

I just implemented in my site but i need to block the translations for some words that appears constantly like products name. How can I do that? Which code or function is better? I want something that i can apply directly in the Theme, and not in every article HTML. 


Viktor14
  • July 28, 2023
Hello Vivian,

Thanks for your feedback. For disabling Google Translate from translating specific words or blocks you should modify Help Center CSS. For example, you can built-in the CSS class “notranslate” which will prevent Google from translating any words wrapped within that class. 

Hope it helps,
 

  • July 28, 2023

Hi @viktor14

Thanks for the tip! I read this and tried the class but the thing is that in this solution i I'll have to put the "notranslate" in every article one by one in the article HTML right? I was wondering if there's a solution were I can put the code in the Theme and block for all the pages since there are more than 300 articles in my Helpcenter. 


Viktor14
  • July 28, 2023
 Hello Vivian,
 
Did you try updating entire HTML blocks via div or span class?
For example, <span class=”notranslate”><p>Don’t Translate Me</p></span> 
Please follow Help center templating cookbook and Customizing your help center theme
 
Hope it helps,
 

  • March 10, 2025

The Google Translate widget is no longer free for commercial use. What's the process now?