Google Translator Widget For Your Blogger Blog postheadericon

Posted by Jkmkhv | Pada 02:24

Google Translator Widget For Your Blogger Blog
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.












How To Add The Google Translate Widget To Blogger


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



Google Translator Widget For Your Blogger Blog


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



Google Translator Widget For Your Blogger Blog

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/AVvXsEguAxjpAtbB3EhUgKamIQvL3sZuEX901-zT4XexhrhWzNgTCjomm2AnvVuVO9D19XFfTFG02UXcGtWXyhBW_wOet94ZX7HthyphenhyphenZcREKBxLpmhqt5WaZxhy4_Q2UsK7DeIMUs3cU4wrqKYmbc/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/AVvXsEi2tubmR4i6OlceJwGiQvRrALckT75bAN0Qj3s8bhsey5KvXNufb4HWQLi0hv6EWpsgiLaNYnO1ogIFKcyRp9RiL_GRYjycveCvDH32yYkAWwK2F8H5x5eyJJCloiJaFzsYmY8Crq8Th02E/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/AVvXsEhp7CZgjudoKOa9qmw8UPKUMpGN5MrpV3_LU0qRihICB_wuj7efBBAX01iWrhzOR4DgnHaw1m3QfPNcw7713gzYDMHae0SejvvvznmwOzq5xrhhdUwCQMX_US0V3RdgHaP-E5jniFpPyk-u/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/AVvXsEjAess2I5e2PyCE3ZhOkZmocsdYX-hn52JM6DOnutj2QakIe1QlEgjW_ibUVEUHQhTnafD4HeeHBAbAHIlJIOdKt7M3Kdr73UxSF80HIgqBddxyZUz6klE7RXETq9qEqZPQWPws9tt9jjTH/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/AVvXsEgqOQ28f3a6DaP_d2cxrY4ur-sRmtnyjxS4kmk1SUWa-wlJhEegrQPl6ZQYijnVkEPXQfI0xFwQcyW4ew23EuJIM1Omht9xtLhluqLIRjhqh4iAEirZcFA_CVU2wWX5Ya42zweP0BT2aDkJ/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/AVvXsEhKXIqN8M_8Ful3Eq5eB9FXsY3IEOfXDzOb-w_NPxfckZdSBbZhDzA0D6GF-CSX2-0WIkgt6ZXAMZQbdfJD6dIrlBiiV5MvUnRy3R0mwlPE0VOTVzpokc7oq1LToAJoIzuSAvPTiVLv1ZMI/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/AVvXsEidjQbX1ZgsKpcqTDfD0DRyNL_92c8w0wTVTXg15n3mD-jH4xU1HptLHbZCUo-NznaoZUsDv8PwGNN8LbY8WHCye1YSI0xvE8UuA5vbQHA4v_a-tCVg2K5sJMBOsXUcKuc776stzntOU2Zb/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/AVvXsEiXi6bvulucVHO9-H2YAXfjo9JKmQmQcDTvUQ3Usvw7dzbMHWgvrB0dt8KIBn8nCtyWDUclSiTnpDyy2TDzz5zI7o_rocp91mIYLpP9eeUcWjAZMmVjyIB1ZSPNWSesYAEOVaCf-Li-T-NL/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/AVvXsEjXWgOAPlaV3NrRuEPqHXQsWFLni2VSngpnrJZcEMd2UuUNRy4J6VYJaiegxDdx80EYZOZ5LP8LX-ti3vAz9a93i3zLB9Yvbo6fPFnPUjnvwIehjuoV_4EIowTOREr-in5S1S_Xgkx4OWq0/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/AVvXsEimFXOMkjsvyphz2S-gp2OiPshfj1cKrDcGtDsFHmZZO-WLwaNsCqgDJ72SmeM_Ue6rSJrcTYx_M5FJQXsVGzipa4h6FXYsAXgg74O3IrWbpjTKOiecN2e7mHox7mTYK8dLD9Zx_8rfhsry/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/AVvXsEhZS4m7CTRmpevKU4G2rEN2ecKZYqnONXl1o5r9o-YM5hexTNr2ejfwkzEqrcgvVgYVWEjCm6HWzu2mJY2uPcGk5GMz5xBSQMZCqtBkcPjyHuqxCa9mkoS109nJEbygCopD6HRx2cMmog2c/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/AVvXsEjLrBm__peBzkTM6RCYak_eV7VEhQfuUGTlC_JIiXJ-qNgQhhDmq3Gc6TytODyCBeimahFKKQ6257HglCfxnKrQzeP0zwiucNamqec7WmNehF7JrL7kCCp5CROW4AbEsG-CndGCUtr3HWfE/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 / </a><a href="http://helplogger.blogspot.com"><font size="1px">Get this widget</font></a></p>
</div>
     </div>

Step 4. Now click on Save


Google Translator Widget For Your Blogger Blog

And you're done! Enjoy