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.


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/AVvXsEiv3oycWjMo3uR13boXjNDK2OKzKByP_WScS03H5fMV4EkE_H26smItKit7KtgL4G4CljLuoTpcSQGOuJnvH7fGjrF23a3NaRYOU3OSFFvQzLqzYWW9llaM0Wtp4a5rQyEuqiUZc7TBhrkM/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/AVvXsEh998LtCfNcunGcWgoeD-ckFMNL9_gll418zwWNdfQyZCEDaEDTtYxzB7ZKovt_3bpLt2E8UuGPoYbns9MwhyJqS2p_U11lOZNkCEAqbe7ZuPZsgUvLbKsJ299detdosetVIoKL-HkblA0r/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/AVvXsEjXjS_11sNhrTnw6AIzfH8Yu8EdgyRcgg8L5_yOx_QS5c2-lgW4FbxfYxJwGS5JZd-YFdBlN8O-DnDrEvy1ZMkw7ZpsIZXSvFo8TFXxLmbvP5gLhmjMdtVIWkKJWb9cwZiB6oiv4zzZld8t/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/AVvXsEidzvWnqr3ycCvnljA_iPwQQMQmxnub0FkgRQvK2MabDXY2ARgmTUEE-KIi0H3jGTS9vRp-AFzK5O95tmOgwN-psuuXqUkfZ53dslwvXScZm3AFjUuspxrgOYbiVqs3F35hJzvhYKGqOETt/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/AVvXsEhu2G9zvJHVFyEYx2BcAx-NyHlfg0M10kLav6tfNa3N1qZV2KI5MiA_qcnueRlCYbe8-dT2G6fZp5U3BxvKu-eWwf0uOPIFA26A0Q6O1KBv3BBzTyuYPKVD8OBoS7ivjsEALbMKyq0g4Xud/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/AVvXsEgkmcdQrHiCcnz2bK1sA686gqV3oXq5SxOrLcafJXJj5JCclFeooSoX3qTW1AKwhzX6mGsyzM8Ba-1NDP_vI5k9ZnhhSDZNAI57eI-K8YX4AyYfUuIIbeWhLvU4-RZu2V6UDITvBBmXrrXs/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/AVvXsEiAQG4mYh0tIBDNwGn4qFp2Aj7ysx6on7OvnuXPxW3Eay0Jqb3S4bmFQ48gCO-9nQbJz9PPiLpBzEWXKa-9RuhyLg6t4Ou9uCnTpDYoddEzBXosFyRbOaXm6hUJitE0WzvLMc4weCek9okA/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/AVvXsEgHr16kb9zva0Fjhm_npNVOIWeDm7Abo91OZcl9BcT4-c9LDa-UCksCEXaof4wBc2rAnmDAI8LObbDXyydmDSIbyd7tsq4nXRCbrPaIaBGWoJ4xBAb3FD6rLRf0g_yWj7OYcuxOF9QHnSqN/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/AVvXsEiHt8Cd4M6dS9qYo5eJprZuOwIf_8OTw7zLiZ0Xv4HPQ5xfUxI8L4L5T5uVzyx2Vq0EyrsOrN_Exits7Drr1e6IRU6g5p76xTKn3E0tI4raYMAVzo9f-fEBmJUSi11JeJWjtZNgbbTkkyVD/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/AVvXsEi5yU9V6RIXrn5YGfS07yt82O3yqefWp_oa_lrmsPkvNZ7-bj4-z2QmI8hJRUsVwwlQxgfN9uUbwiX14XNEyykuKFIBMX_uyotfOik-rNy-y4CO5JgCiCiQAihrlL7GBKWK5muB2vBNgygJ/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/AVvXsEgqSbKAE-54YUrSEb2pkmJS2SQ1Ex8pAAuPHhBvinDAhbApj9P8OBYnHZbYHFiK0e5s_7E0_PH7Jnt7MhHSAboj737deYRl7lyfLHcd8f2teNy3_1pICE6LJFMSuXI-XLZLlYV5yymnJc9I/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/AVvXsEgNXjlkwPa0LdHPyt0K86WD-XdLblpnt20fVGHuM1ZN_YAWVYnk0lcSZG9p5ct_mablPbnxQRCTEioFBu5c1oj22sfOWTElblldlINRwmm5lhYY2fZiukuQHki8WJLNlDNRBmpDq2S9hTsq/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

إرسال تعليق