WordPress.org

Support

Support » Plugins and Hacks » Google Language Translator » [Resolved] Block word or words from being translated

[Resolved] Block word or words from being translated

Viewing 4 replies - 1 through 4 (of 4 total)
  • i’m interested in this too

    Plugin Author Rob Myrick

    @rm2773

    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.

    Rob

    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!

    Plugin Author Rob Myrick

    @rm2773

    yes, this definitely would work great – good job!

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

    Thanks, Rob

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Block word or words from being translated’ is closed to new replies.
Skip to toolbar