Support » Plugin: Translate WordPress with GTranslate » How not to translate ‘Menu’ in German

  • Resolved kevinagar

    (@kevinagar)


    Hi
    extremely happy with the latest update to the plugin (2.8.57) My only problem now is when I switch to German it translates Menu to Speisekarte which is great if I was in a restaurant but not a webpage. Is there a way to keep the word Menu and not translate it?
    Thanks
    Kevin

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    Hope this helps: How to skip translations?

    In our paid version we have more easier ways to control that, if you need help with it, please feel free to contact our live chat: https://gtranslate.io/#contact

    Thanks! 🙂

    Thread Starter kevinagar

    (@kevinagar)

    Hi
    thanks for the reply. I’d read the article you linked to and tried several things but couldn’t get it to work. Not sure where to put the html or css. Also do I need to do anything special for menu items?

    Kevin

    Thread Starter kevinagar

    (@kevinagar)

    With help from the great people at GTranslate I’ve how found out which files I needed to change and how to do it. The link above did help me to stop my name being translated and the menu item was solved by adding to the footer.php

    active_menu_responsive class

    <script type=”text/javascript”>
    var myNewTag = document.getElementsByClassName(“active_menu_responsive”);
    for(var i = 0; i < myNewTag.length; i++) {
    if(myNewTag) {
    myNewTag[i].classList.add(“notranslate”);
    }
    }
    </script>

    Plugin Author edo888

    (@edo888)

    Good to know, thanks! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How not to translate ‘Menu’ in German’ is closed to new replies.