• Admin
  • Receive an Update

    You are Here in » » Google Translate Widget with Flags For Blogger





    Google Translate Widget with Flags For Blogger




    The Google Translate Widget for Blogger allows the visitors to translate your site or blog in their own language.
    This widget also auto-detect your blog language and then translate it to the readers chosen language.

    It supports 12 different languages:
    English, French, German, Spanish, Italian, Dutch, Portuguese, Russian, Japanese, Korean, Arabic And Chinese.
    google translate for blogger, blogger gadgets, blogger tricks

    How To Add The Google Translate Widget To Blogger

    Step 1. Go to your Blogger Dashboard >> Layout and click on "Add A Gadget" link



    Step 2. From the pop-up window, scroll down and choose HTML/JavaScript


     Step 3. Paste the code below in the empty box:

    <script type="text/javascript">
    function showHide(shID) {
        if (document.getElementById(shID)) {
            if (document.getElementById(shID+'-show').style.display != 'none') {
                document.getElementById(shID+'-show').style.display = 'none';
                document.getElementById(shID).style.display = 'block';
            }
            else {
                document.getElementById(shID+'-show').style.display = 'inline';
                document.getElementById(shID).style.display = 'none';
            }
        }
    }
    </script>

    <style>

     .google_translate img {
    margin: 10px 20px 0px 20px;
        height: 24px;
        width: 24px;
            }
            .google_translate:hover img {
    filter:alpha(opacity=0.30);
            -moz-opacity: 0.30;
            opacity: 0.30;
            border:0;
            }

    .more {
        display: none;
    a.showLink, a.hideLink {
        text-decoration: none;
        color: #0880C4;
        padding-left: 18px;
        background: transparent('down.gif') no-repeat left; }

    a.hideLink {
        background: transparent url('up.gif') no-repeat left;
    color: #0880C4;}

    a.showLink:hover, a.hideLink:hover {
    color: #0880C4;
     }

     </style>

     <div>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA9SqhUczoPcFWxNTQRB2b6oSDfkSJv0ZHCqs18Ml3aLpxiCxjIu5MFVQqiLqurylb-kLeXhGVxX3oxdj-zg17ILp5bbK7nxKKurTJaGEciG7aoNLv42vC0uwtHrBLjw9p8mVL0bnL7oQF/s1600/United+Kingdom(Great+Britain).png" style="cursor: pointer;margin-right:8px" width="24"/></a>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq0bJPeLDNcBfFLUHPbIfM3dJhDRS7qigNMCGM3y67e9MEJcE0SNKrGQbY1Jl2TnL2KktJCjc3LPBLcExmGZ_oR_EBpQYuuoQgsbcLzCIex0LwQiVWS8P1PDf2IaAfaZnu87TMqkKntTuq/s1600/France.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxLlmquX6XyNJNUd_HUe8rrDTi3AlnHQeBExv7S8BQGWiG7QLhvXPq279w4KitRiqv4z_CKg0yae09jE5vz1-pKJS0u7Zq_EnFqpbzOVnizd0pfOz2y2EtfwDxzCzES4fg_0KQfHPb2Ahe/s1600/Germany.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGxYK0sGLAyRRIUfrqP9DNu5DuSzUEH6T-ykyGAw0pP9q2KADtoetqK5Zlln9dVT2rqaHIJQob91DmU6KevmSbarzU1eofhulJIAVkWY-cYcV6nz6Dm_tgRAnlhCqZaWnrTy61MOH1CPVV/s1600/Spain.png" style="cursor: pointer;margin-right:8px" width="24"/></a><a href="#" id="example-show" class="showLink"
    onclick="showHide('example');return false;">More</a>
    <div id="example" class="more">
     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNIDd161Mg8ae5WZZEo40hf1bDQysUgeMee_R6THS-Foy5PQhBt33ys65VXAASNlFpeoekEVE4UYq94MJ-L42GcoxdjMychKDHzEyEHAm6LVnua5MGKrDVzNTNqU4yakJEyIxk9XCRp3kF/s1600/Italy.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhssuvM3Au17ru_V95qCPl6TMVsLD03ltkExvRzdtdv6mL727MV3OxngMe1-bctipPcZ2-9PWBzjlzcIxg1WRSaqkxS20A_5TFglP7Nac39qKBJdNsBwQDaU7rqFsHSQ2HoWWhZmEndEJE/s1600/Netherlands.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
          <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidXl2TUnimYpwN9WeQ5uxsR3gRbVTSYAeq6frSdnOWoM66_OwlAcRGlPeqnpNOkErpRLmk4HNwEFhURymxSNPZUQJgOn1watXtldbBPuvcnEheafS76AJM63_jU6CC7fyHclwzwmLXmL1k/s1600/Russian+Federation.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMKofNuzc-iV1r1fRsZv3w0Pb-bmkuQl-iwqkGCma7RBwqVzvixTuzpPoxr1ccByl-GvJPxS3YQq7BTrQ1Xppl4Q8MMf9m6oPMH0Pa_QyzFQpQXig_E2yu5X428e_5qHmYy3Dlhej8vkfx/s1600/Brazil.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
    <br />
     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB6vHmqbsjWtTzjyHtD2dXwUkx_xO0JkPecAm9ncmq5MX7mLcj78CUMVTDHpVLDN5Z6GWUoCLErwKYg5fHhYeRUIFsrU_Rbt__tO8Zb6HFF8C4F8adA9nLsWL1KW2J2fqKGGd0kmape-ml/s1600/Japan.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQSdqDFJlpySni3NKn77m1GmwA5tT_X4D9g14O9R9UKMlovEcb8ZjLdgmkHjEt7KhE2rpDyJLSFAdUTLImaAiXyGCSvuRl6RK8GPj-hZVBdn_iZWYJcGGZwnZlCHgKz-GJsSttqGkiDynv/s1600/South+Korea.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRJmpxYhudPzm-ugezFSqpJOp1oPxkSip3qtxcgR5kDBig-urrjxYSyDw8l-rI-Z3k0hx6ay7XPgg3HOdbaUZflfALeGF5ThcmkOXo3nFHIFrmxry5aFs7MuwN3basXIowRcdcbDu-fR9S/s1600/Saudi+Arabia.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

     <a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7czh-cn&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8_cT3eCQx2-yw_-TgqTIp9yg_TqZfeTSqlwP6w4eyL9sohVLH4PQgGLiqXCI8JF_Tbd1k2IjsNWjwhKT0V0SzzHAQrmYfuiDakFpgkjW-ryN4Sf1tUnsnBLpOlGPj_J9B-ypz_6obsApv/s1600/China.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
        <p><a href="#" id="example-hide" class="hideLink"
        onclick="showHide('example');return false;">Hide</p>
    </div>
         </div>

    Step 4. Now click on Save

    google translate, blogger widgets, gadgets for blogspot
    And you're done! Enjoy (:

    More Articles


    Make use of Smilleys Codes

    Quick Help!

    Having issues? Need quick fix? simply email me or call me

    Learn more

    Write For Us

    Submit a guest post and see it get published real quick

    Learn more

    Advertise Here

    Place relevant banners, links, and sponsored posts at affordable rate.

    Learn more

    Get notified on FB