Google Language Translator
[resolved] Block word or words from being translated (5 posts)

  1. chrispoulin
    Posted 1 year ago #

    Is it possible to block words from being translated on a page? We have a brand name we'd like to keep from being translated on the page.



  2. dsgregorio
    Posted 1 year ago #

    i'm interested in this too

  3. Rob Myrick
    Plugin Author

    Posted 1 year ago #

    Yes, you will need to add a CSS class, called "notranslate" to any HTML element that you have.

    For example, a typical website body tag looks like this:

    <body class="home">

    But to prevent translation, you would change it to this:

    <body class="home notranslate">

    You can do this with any HTML element. Let me know if this helps.


  4. chrispoulin
    Posted 1 year ago #

    This worked great. However, I used a slight variation for a single word/phrase on a page. Like this: <span class="home notranslate">Brand Name</span> This worked perfectly. Thanks!

  5. Rob Myrick
    Plugin Author

    Posted 1 year ago #

    yes, this definitely would work great - good job!

    If you need any further assistance please don't hesitate to ask

    Thanks, Rob

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Language Translator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic