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/AVvXsEg9oQBwFTWE8gyy4pyBC8yWPWCTEpx92OTh7urlJI43ZQOSYRPdkmFwkZ5Dvb_JCIZoJup4r520g9bYP941uS4MZL7MGc_pfTsE0Znr2_kajhyyX63Q60jX-HfHA3199tCsbODONdflfkiO/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/AVvXsEh73KyfNZU6pm8PzuTwabGtiIyaH1mX3A5Wp8utn2a0c4fZ6sJPEgz4aineiXhsqh2cZajzVIj1QaqZKqynH9Fdfd-v0coVrgQpy_hXTjbkkp2o0pjQ1bSrG42PwDc6i-x06FIjnSitKUXU/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/AVvXsEjrXyX-TUxIjppBLz8MAM7IhHtn-_X7446WhufxW9eaHXZi9tfCeUWNdWh29o8e2gBlPBxupY3UfDuBmWo96pjnI1Dx1tYRb31_QBzt7uTC7TMWzTPn4TTwU-WAw6xVijddcJVL0JJXMKtX/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/AVvXsEgeCn66DZ-dM-E2K9ylpDOOzus47VEvesAY9CtqCirACo9M7ST5Av0qvB0tpmQIx8bQsp-pt8o3F-QlszPIxZr2ebfWOYgUooHewqvr5xun0JuJyHiqz-jTf6GoyvQZnJnslYiLg2ieczVk/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/AVvXsEg31mxf5lo8ekJ3zg25SgNI4ytdIiHbJzC29a8Dmr5krerFzIScw19ce6GStuvAxTS-X2BRDh-zFDBubZlc1Ldv-vyqOm3vb6QY6iwYKV4_6ksm-NL_i9gM8wSVq52YMKKp83AARKvS5gou/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/AVvXsEhAyWDVrfpMU6d7-qISqp6Hl_XIs_hdv1OxfYODdjrzwxegVjdqtFnq31D7idG5yC5kG3K2pzTuTTNiQlMwE1Aim6wT0WNDXCjGQqTf1So2S9VTEOHOCpkorcXxD8Qu84vF6q57ZBO5-vpZ/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/AVvXsEi6z0gSQH2e1WZ5rwac6kU5S1jX9ediIr07QP2eOlzwCgd2vZLs_q3duaAVfpWnpOt84wZnAty-VXxITnQhTMgpLmogqF1EtmZTP7aO_I03W_k0agLt17jyRCqjzp5Cznz9YZo1l0lVngfU/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/AVvXsEgRaAUWKDiMhTn4hlhHmTFKMzJKkSpTyU5UOVjSbsHJKQIfwKZmpOk2E7B1Cc30dRxFxxmN-MCXB47QQrfxBlZVV0tV2DWSRMoMLHQ4Mm4-r3LtKJtqTmszgo01PgJQBfVT1UKoWVwUDduG/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/AVvXsEhANXkbLu2lY5DQMiqB2ADbbpWzIbSsLe7oMOnIpedgke0uD9GCmfatpZccpRFAAhK07M-G7LVyPtzOU3fShFtUb_Ypd8rhiMTw73iyeRLpn4ly8lODna8dgEABGa51aAWVrBGeGUDoHC1T/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/AVvXsEjfDpLZFi5DM4OL_YD6tfxMK-iN1j3qY5yHpuchGrjt84bp2EZo0NGDTeQKziOhJtScJUcHvdYp32wAeDY_Vk796pCGNoKnHnFtj9068PhEKH9FNjTtgqwgTTEKil9VEz9ovWynjbq6YXoa/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/AVvXsEiuNhbgyKoCAOsoq6HrME1XcjQAa6ALG6EZ6BmU1V8UL8Mx1UrJoSRZ16ZUpmOtFqQL1ceYrO6tAVkCD_hRMqYLYfliD2H45NnRdikW5jGXvt6LzyfWoog5iD57vRrp-Ih6-TPmslslSjGL/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/AVvXsEgR8cM4tExj9phx_PYFHwLV7etP_Z5vIFkUKOLlXxUvECvejPls1B4NJUKEE0HyAIrFfCPZs6eWPQWflmaIi54QLf4iovsbRpIxtP_sgONgRx-QFH669OgCvD_PYgIqNyuNPqZcTnRF-KS3/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>
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/AVvXsEg9oQBwFTWE8gyy4pyBC8yWPWCTEpx92OTh7urlJI43ZQOSYRPdkmFwkZ5Dvb_JCIZoJup4r520g9bYP941uS4MZL7MGc_pfTsE0Znr2_kajhyyX63Q60jX-HfHA3199tCsbODONdflfkiO/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/AVvXsEh73KyfNZU6pm8PzuTwabGtiIyaH1mX3A5Wp8utn2a0c4fZ6sJPEgz4aineiXhsqh2cZajzVIj1QaqZKqynH9Fdfd-v0coVrgQpy_hXTjbkkp2o0pjQ1bSrG42PwDc6i-x06FIjnSitKUXU/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/AVvXsEjrXyX-TUxIjppBLz8MAM7IhHtn-_X7446WhufxW9eaHXZi9tfCeUWNdWh29o8e2gBlPBxupY3UfDuBmWo96pjnI1Dx1tYRb31_QBzt7uTC7TMWzTPn4TTwU-WAw6xVijddcJVL0JJXMKtX/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/AVvXsEgeCn66DZ-dM-E2K9ylpDOOzus47VEvesAY9CtqCirACo9M7ST5Av0qvB0tpmQIx8bQsp-pt8o3F-QlszPIxZr2ebfWOYgUooHewqvr5xun0JuJyHiqz-jTf6GoyvQZnJnslYiLg2ieczVk/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/AVvXsEg31mxf5lo8ekJ3zg25SgNI4ytdIiHbJzC29a8Dmr5krerFzIScw19ce6GStuvAxTS-X2BRDh-zFDBubZlc1Ldv-vyqOm3vb6QY6iwYKV4_6ksm-NL_i9gM8wSVq52YMKKp83AARKvS5gou/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/AVvXsEhAyWDVrfpMU6d7-qISqp6Hl_XIs_hdv1OxfYODdjrzwxegVjdqtFnq31D7idG5yC5kG3K2pzTuTTNiQlMwE1Aim6wT0WNDXCjGQqTf1So2S9VTEOHOCpkorcXxD8Qu84vF6q57ZBO5-vpZ/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/AVvXsEi6z0gSQH2e1WZ5rwac6kU5S1jX9ediIr07QP2eOlzwCgd2vZLs_q3duaAVfpWnpOt84wZnAty-VXxITnQhTMgpLmogqF1EtmZTP7aO_I03W_k0agLt17jyRCqjzp5Cznz9YZo1l0lVngfU/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/AVvXsEgRaAUWKDiMhTn4hlhHmTFKMzJKkSpTyU5UOVjSbsHJKQIfwKZmpOk2E7B1Cc30dRxFxxmN-MCXB47QQrfxBlZVV0tV2DWSRMoMLHQ4Mm4-r3LtKJtqTmszgo01PgJQBfVT1UKoWVwUDduG/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/AVvXsEhANXkbLu2lY5DQMiqB2ADbbpWzIbSsLe7oMOnIpedgke0uD9GCmfatpZccpRFAAhK07M-G7LVyPtzOU3fShFtUb_Ypd8rhiMTw73iyeRLpn4ly8lODna8dgEABGa51aAWVrBGeGUDoHC1T/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/AVvXsEjfDpLZFi5DM4OL_YD6tfxMK-iN1j3qY5yHpuchGrjt84bp2EZo0NGDTeQKziOhJtScJUcHvdYp32wAeDY_Vk796pCGNoKnHnFtj9068PhEKH9FNjTtgqwgTTEKil9VEz9ovWynjbq6YXoa/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/AVvXsEiuNhbgyKoCAOsoq6HrME1XcjQAa6ALG6EZ6BmU1V8UL8Mx1UrJoSRZ16ZUpmOtFqQL1ceYrO6tAVkCD_hRMqYLYfliD2H45NnRdikW5jGXvt6LzyfWoog5iD57vRrp-Ih6-TPmslslSjGL/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/AVvXsEgR8cM4tExj9phx_PYFHwLV7etP_Z5vIFkUKOLlXxUvECvejPls1B4NJUKEE0HyAIrFfCPZs6eWPQWflmaIi54QLf4iovsbRpIxtP_sgONgRx-QFH669OgCvD_PYgIqNyuNPqZcTnRF-KS3/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
And you're done! Enjoy (:





















































