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.
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:
Step 4. Now click on Save
And you're done! Enjoy (:
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.
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/AVvXsEijNzrqjPxaygPl3YVFI2RWqbQkFT29bb0HWcTbGMYuS0IE91uxSjr7q7WHg8ALzGXZnu0yvCqyBJTD91dDqYxrmKFy5y5kOT13WA4DYKh1NOs8eAA4m1ZGqD7I-E7UstHHOh2H5T8k3GHf/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/AVvXsEju6DDEsxJL5xaN493CvC-WtxEID4UlKpfLf3RK2vjABhxph4s1hfb_4DjPeV9Vz5xHR1lobtD7UDXedoX921rDoxGEbiTGke-rRP2VoOyK_B1lGwU-uHXHT4EzkmmxVqfV0xxdkioSLsXD/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/AVvXsEg0FGQ0aOR_J5TFAfzmHqcSKRlh1qHtv5uwVuGkXHyEX8O-9JMnnAzz5I2dlmldtnEg6k2N4uG_XPdOQp__dKLt9pyr_Hb6W_nxOgzkh-1igP41Ixbi6vM0XbZlfjdQfs5UijnK2_TJ9Z4W/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/AVvXsEjskb8eXmKmZNPQ3tTEIeabK4LAP-MbxE8O3nxLC0NFw4giIxeQjeLRasljDfIXeqigdOtkN3ckfs-xJfTST3LytYiX1pvnQT-8A8brVt31ZUU5-rbxzBuqiLONQ-nMutvmVQWc_gTgt9XT/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/AVvXsEh40hhxuaYn9-9Vr2Iw3PuLPKivWooGOpS6Ms3WdEo0RQHSnqsMAbDFJ4rmOpqpV1TrliLzDzRCx7KgIRyx39x0bV-2LfB6-v-Kbe1MJwSSdxUUkT0ZgNGp4hP1UgS9Nbah22Cicx6B9W8z/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/AVvXsEiKkpCvs1xauu6Xcs68uCJIh9X9uSWRoPyRlN_QbgcOvGJSdTLCsiHl-XJL8uoX6XQb9GOH7IHjWj3wQW3gc0Kl4agca92-KN8ZssmFnnNbv4ywiDeRQ-UbEKVT99RbzK2_IqfqZQbjzlgY/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/AVvXsEixGdecAU_3_oj8LWume9qXF_DfX8uIB2CcCOMqHZN3VF9CE1SXNKfqa3YlCaGKGP-W0woeE1LddS727iPWAy5gUb6gBKiV091jr9Gf9oEWpgvB5kPYmR9VG48TLUxzj7tR6YZU5JiEJFXg/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/AVvXsEi_SMkKfXL8HdzdoK6vEhgVldw5RMqprj2O2BqhY1aAzjDTzpI_cA4cwPEJHoCy30jTLKSWvM7AZyocbarR80Q9MQk6Nwpb8rMX2-NT-jSn6YKaGxDENKJgQ1-92sN38TUny4gffrzEAfvj/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/AVvXsEj6zhe5Tf3_2BqGBdxD8ZFyOwc6nRqNOu6yg1X-his3_1jn7pifOgUcsXF4jZzOPVnh2jcIa0rj2FSuipXfXNTHPtV1alW5jBqH807Oaw8Uh9sVDQHVoa9ydla9vpBTqxl0rHN0596sla7Q/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/AVvXsEho9JQbeECGdtABz9SkWiTf1h6-DAxnrD3X1hqLiEVcu_5rhyphenhyphenfEGOeQiEGM1lHvdpQ-hhu-NuC-muPX3EMHcv7uxYdi4ApSqCfI0ISbMWgkrZkyBjwAe7PqbAO2a9yMgIcVtQAeFkkEQRw8/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/AVvXsEhl8Dt9YT5kA3NYvM0ulqhyphenhyphenRgQg0nadiHDvijOC01PwLdcIp0I7UDWhC2trqNtSdb3x9rGySoMiSDrs3j9JC7QtUNoHsF02cuVit0lZpmVFL4w4VC8476aIhmRfUaeElpQ8oymiFohCG2HC/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/AVvXsEgaLE9z78v1tuskAbYRkMgRIYd7gyXlJnD2ngzObt0MfimmGklzcHzjosOx4s7aVDUsB4tZCMyIWJyXq2WBDB4DihxzdGxiDc29Kq5L4LODqyMQRKfELy9ubHo-a_epQ1GifVv8jOv4Usfs/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>
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/AVvXsEijNzrqjPxaygPl3YVFI2RWqbQkFT29bb0HWcTbGMYuS0IE91uxSjr7q7WHg8ALzGXZnu0yvCqyBJTD91dDqYxrmKFy5y5kOT13WA4DYKh1NOs8eAA4m1ZGqD7I-E7UstHHOh2H5T8k3GHf/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/AVvXsEju6DDEsxJL5xaN493CvC-WtxEID4UlKpfLf3RK2vjABhxph4s1hfb_4DjPeV9Vz5xHR1lobtD7UDXedoX921rDoxGEbiTGke-rRP2VoOyK_B1lGwU-uHXHT4EzkmmxVqfV0xxdkioSLsXD/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/AVvXsEg0FGQ0aOR_J5TFAfzmHqcSKRlh1qHtv5uwVuGkXHyEX8O-9JMnnAzz5I2dlmldtnEg6k2N4uG_XPdOQp__dKLt9pyr_Hb6W_nxOgzkh-1igP41Ixbi6vM0XbZlfjdQfs5UijnK2_TJ9Z4W/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/AVvXsEjskb8eXmKmZNPQ3tTEIeabK4LAP-MbxE8O3nxLC0NFw4giIxeQjeLRasljDfIXeqigdOtkN3ckfs-xJfTST3LytYiX1pvnQT-8A8brVt31ZUU5-rbxzBuqiLONQ-nMutvmVQWc_gTgt9XT/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/AVvXsEh40hhxuaYn9-9Vr2Iw3PuLPKivWooGOpS6Ms3WdEo0RQHSnqsMAbDFJ4rmOpqpV1TrliLzDzRCx7KgIRyx39x0bV-2LfB6-v-Kbe1MJwSSdxUUkT0ZgNGp4hP1UgS9Nbah22Cicx6B9W8z/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/AVvXsEiKkpCvs1xauu6Xcs68uCJIh9X9uSWRoPyRlN_QbgcOvGJSdTLCsiHl-XJL8uoX6XQb9GOH7IHjWj3wQW3gc0Kl4agca92-KN8ZssmFnnNbv4ywiDeRQ-UbEKVT99RbzK2_IqfqZQbjzlgY/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/AVvXsEixGdecAU_3_oj8LWume9qXF_DfX8uIB2CcCOMqHZN3VF9CE1SXNKfqa3YlCaGKGP-W0woeE1LddS727iPWAy5gUb6gBKiV091jr9Gf9oEWpgvB5kPYmR9VG48TLUxzj7tR6YZU5JiEJFXg/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/AVvXsEi_SMkKfXL8HdzdoK6vEhgVldw5RMqprj2O2BqhY1aAzjDTzpI_cA4cwPEJHoCy30jTLKSWvM7AZyocbarR80Q9MQk6Nwpb8rMX2-NT-jSn6YKaGxDENKJgQ1-92sN38TUny4gffrzEAfvj/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/AVvXsEj6zhe5Tf3_2BqGBdxD8ZFyOwc6nRqNOu6yg1X-his3_1jn7pifOgUcsXF4jZzOPVnh2jcIa0rj2FSuipXfXNTHPtV1alW5jBqH807Oaw8Uh9sVDQHVoa9ydla9vpBTqxl0rHN0596sla7Q/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/AVvXsEho9JQbeECGdtABz9SkWiTf1h6-DAxnrD3X1hqLiEVcu_5rhyphenhyphenfEGOeQiEGM1lHvdpQ-hhu-NuC-muPX3EMHcv7uxYdi4ApSqCfI0ISbMWgkrZkyBjwAe7PqbAO2a9yMgIcVtQAeFkkEQRw8/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/AVvXsEhl8Dt9YT5kA3NYvM0ulqhyphenhyphenRgQg0nadiHDvijOC01PwLdcIp0I7UDWhC2trqNtSdb3x9rGySoMiSDrs3j9JC7QtUNoHsF02cuVit0lZpmVFL4w4VC8476aIhmRfUaeElpQ8oymiFohCG2HC/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/AVvXsEgaLE9z78v1tuskAbYRkMgRIYd7gyXlJnD2ngzObt0MfimmGklzcHzjosOx4s7aVDUsB4tZCMyIWJyXq2WBDB4DihxzdGxiDc29Kq5L4LODqyMQRKfELy9ubHo-a_epQ1GifVv8jOv4Usfs/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
And you're done! Enjoy (:






















































