How to Add Google Translator With Flags For Blogger
Visitors
of your blog are from different countries knowing different languages . To
provide visitors translation facility add Google Translate Widget With Flags To
Your Blogger Blog.
This
widget detects your blog language and also translates it to the readers chosen
language. This widget allow your readers to translate your blog in 12 different
languages, which are English, French, German, Spanish, Italian, Dutch,
Portuguese, Russian, Japanese, Korean, Arabic And Chinese.
Step 1: Go to Blogger Dashboard► Select Your Blog
►Layout
►Add
a Gadget
Step 2 : Select HTML /Javascript from the list of gadgets .
Step 3 : Now Copy (Ctrl+C) and Paste (Ctrl+V) the following HTML Code in the HTML/Javascript Box
Step 4: Click On Button "SAVE"<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/AVvXsEgOUvQ7S08KRyaW-sf1otM4yktsFOKlz0CMGeL9fMagPTFjtVJsYblqQ9VwEgnK1hufXaFGh2sQWqMmz61jSarzoV6Q7BUzyuhuD9j3R6De4_LYi0r-CA6wMVwWceCg-3E9c3DETTQb35fT/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/AVvXsEiSRi3GSaQkaDAY6GNqrGsUG8-O_8SRM7At7UEBYh7Oc42Fh-BA-l8rk8TDcB_WC8Un3bwqs2ZuqW5rVhCGZhwWSmvHytAZpN3uZuLMFr-AiYVpAgWZGY8sFioVcoT6C_QuPFwvEUpsBh92/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/AVvXsEiSTlRiER6CD42wrFx6nYLOlTUUFd827UAsbAaTll9uuaqIXDvTBMu97-nQyHZA2ulnTmEOOzUZPHAGmdLQn8VT8y6OQIY9_hfIsTFHHdHATpJpKOL25UFxQmGp-3U2cXCRBwEy864c3GBq/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/AVvXsEiDwvzk_YLKlFdMl5quuZ6vAzDZSU32rpfSXdmj9Jc6D86ZQVEnjmFD-jdKkiXYsDtyQwJ4E1kcZAr1Ux5ESrXhV3Kknm95DKRJIIWjMd8TJA97r7Lek32Guub5H2ppXpR9rjfgynL5betq/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/AVvXsEjIU8zxvlrXHxBN0fI_RKnnkJ95E9xRVhoN73VVRQ-G2pbyJekaiK0RuKUKnASVMTgkNtWWqjBGbyc9PpaEVqdMd1tekcIczAL6CUXlp6FpHOFMF2L1KyUKV4k7Y9jDfWgRiWL1wsBk7Tln/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/AVvXsEgLajY0HRCqNqvu50msbfdc_Yt93e9XkVWbAOn36DB8HVl-U3CvV6WPx-Uv41Ld0r4dVEvCZhPTYKRy8sYvHSWPh3O6VWp6R-TWbFHKLjIoneIn4pIwhNCjuwjz8a6UgsRi0kUihRMn_vgZ/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/AVvXsEiFwIR3yFt3Ox-7brxJSHtPKxXUk2NHOah2vMVA_GEqQiGA0COKmBczjunmt9ppHnU0pbom5zEjJDpb5smwIGqTMRaNbAhK3LaMy6BOxNh3VGD3hYoyBEynyogpqeSu0PhJ5Dn-GRQMF4FZ/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/AVvXsEjk7mXFwMLWL2GtjsxMmvvp11sfstoHAb055ZblQkGPlvk1MzNk5FWOuwlQSALj6wcjSjf4XXlgBt9CiA6-HnfRJpk_sGbVJ6KUSbQS6t1KHrtfkmBOUTyf0ze1LWC9ScA5Hw4rDxye1elp/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/AVvXsEjIg0mhO8A9Q95hJgfx6jhLUxXloG-1tAaoUJABoVT_m5C82SLxrlnRIJW2snyW1VyW-2CYp8P0urPJRW0saevTTGAyZ6HtDpcnNDxG66Q361KakbteqIY7Up8YMxLRXWqAnT-G8hew3HjF/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/AVvXsEh9qXtvabztRRKY_wjSDY4T2ZieAhYLvb7lyTwm-pHrp92M4WN3okK9qPSAtfwNCwL4MUzPfmlvZD5isamwOm39GrLRpDnqLOvrqIJLT-a_j841AJDHx9FdCQ6tviHSFQbhfp03sYDXqTVB/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/AVvXsEhUtGeWu0baV8zp6DLp-2smHkRRn-BAwDA_aey503N7513E8PDaLlM2r7NEaRwsOkw-3pvca2ud0DvoKefkRBpkgqehJURlKPF8Xfx1jwiWCvKleZzDwyk70k3T3koG1P0WUVbQ131iN_yW/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/AVvXsEgw4-3JT2Y9S708rirLcbgi912ur9o2JZkq8V9JOhLm9tzBwlY2IePIlOa0J3CeMO_6fhj0Ywc8woM_uDqh2y2jOFA3cF_F0opCJxG68tR0DcLughLL0Ndptk6QzzaLNDfFrzRQoxWvI1s6/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>
</p></div></div>
0 comments:
Post a Comment
If you face any problem, then don't hesitate. Just Sumbit Your Problem In The Comment Section Within 24 Hours. Be Careful We Have Zero Tolerance For Spam !