How To Remove 'Powered By Google Translate' from Google Translator for Websites

Discussion in 'Webmasters Tips' started by pencil, Jul 19, 2017.

Tags:
  1. pencil

    pencil Administrator Staff Member

    If you have been worried about how to remove "Powered By Google Translate" logo from your Google website translator. Here are the hint for you:

    GOOGLE TRANSLATOR FOR WEBSITE WITH POWERED BY GOOGLE

    If you are interested in using Google translator as shown in the picture above, then use the codes below:

    Code: [Select]
    <div id="google_translate_element"></div><script>
    function googleTranslateElementInit() {
    new google.translate.TranslateElement({
    pageLanguage: 'en'
    }, 'google_translate_element');
    }
    </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

    GOOGLE TRANSLATOR FOR WEBSITE WITHOUT POWERED BY GOOGLE

    If you are interested in using Google translator without branded logo as shown in the picture above, then use the codes below:

    Code: [Select]
    <div align="right">
    <div id="google_translate_element"></div>
    <span><script type="text/javascript">
    //<![CDATA[
    function googleTranslateElementInit() {
    new google.translate.TranslateElement({
    pageLanguage: 'en',
    layout: google.translate.TranslateElement.InlineLayout.SIMPLE
    }, 'google_translate_element');
    }
    //]]>
    </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
    </script></span></div>
    If you need further help, please post below.
     
  2. Randy Fahrbach

    Randy Fahrbach New Member


    Please excuse the dumb user question: But where do I place this code above? Do I place it within the google translate element div or script?

    <div id="google_translate_element"></div><script type="text/javascript">
    function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'cs,da,de,el,en,es,fi,fr,hi,hu,id,is,it,iw,ms,nl,no,pl,pt,ro,ru,sk,sl,sv,tr,uk', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-107200044-1'}, 'google_translate_element');
    }
    </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

    <p><span style="font-size:16px;"><span style="font-family: arial,helvetica,sans-seView this page in:</b>rif;"><b>

    Thanks for your help