Don't Miss

Google Translate Widget With Flags For Your Blogger Blog

By Zohaib Liaqat - No Comments
Let your visitors to translate your blog in 12 different languages by adding 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.

>>>>>>>>>>>>>>>>>>>>>>>>>>>Demo<<<<<<<<<<<<<<<<<<<<<<<<<<<< 

Add Google Translate Widget With Flags to Your Blog

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

<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/AVvXsEiQK4NedWRsgNCo0qEv1AOSY2Fp5ffv2AWadUEsawW2hTYv0oMp_4Y05OsowhQmPamMzLFOLIvIPEg00wIf_xFAgNdU4xrnj6uoSIx4eAhGi1iGpXK01dMueEOW5okjD0vK2BCLoYEHeptS/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/AVvXsEj3iexLLynFqlXManzTcEkeq6zLqHNVGCS4XHFNA5MBlZwJgw59kHhp3KsWk4leMu2M6PyOaFd8ajq0lnpWM8UGJ8YojMwi4smC_y30OxH3IRnt_dZjjWl1tm5UfixkapSuLvEbun45Ei24/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/AVvXsEiEsChrAr0qC4l4Z8wdOZlF0b6nbAWYCoR4H2bsLmBdjuRkceHz47-MraNliAk6es44Jrdwv6jWNDFtuiLIf_mndeW3OMpW8DE54R24XwblkTAp1YiC-r4K2Wje3q39sNns3Wdboc87CyVI/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/AVvXsEiuFLkMM4tfXAHwFMMx3BIUuoBDVuVyrA4k-Irjih_HIyuPkR5G9c175hRYfFgza4en3FH5lxaOFGm6oATi9-wYoCZNez9EVA6mnQvxVhWaAB91DTMG-GDQhG_96t7ZKaH48d-l1w4H-7SR/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/AVvXsEjBFF4vK2lesUxkFDGcdkyoGT3WhIO5B65Eg9kUn0ubMqVbYTBsoG6yP-EP5dR_UzPcLFC9HrVY7qTsfHauGBjyeqBOhi7pa95GcbD9LjumfYFWlATPeey5IO5GrLZWjfMEJM1-11U-DKI_/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/AVvXsEg_BbQz_WZaXr6zTd0BFy-gb8qbGaqzOcyLISB4WT-L8gGhPTQgglVHcsnvCA8IUYQWh-BRI4uovs_2Q-81ExXl0NJdXe-YpoZdOCZc9qzFS-Zw6C96LRT5smLmcCkIwcO3ErXNL_Evtek3/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/AVvXsEjzX4wiKlMAcX73RESxsalQ2sgnysW6jUt7y_GlM4aRJNVZeCWQJaeEZerLTAjzObk6WbD0wLeRSXIGlOrMzlMfEbh2Y-NGvuGbFEP-RSyuVe3-vNBEL5F8TY1OsST4OTwRC2jwsaE3a9ug/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/AVvXsEhIcZQGFByct04s0ePzqu4R8XjdjUUcYO78PXc8prSIH3ssZZcXmSqNzTILoIGU40dfeseiRIWmyJi-R7MY04ukYbhUh6iafMGaMFGo_PAFax_YgqaQUDrszaEmlinpo8iVVfNIhn-NpGCr/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/AVvXsEgzbZVCsl2d2A47qQLOKXgz9EbheNameW4V2dMFJ9dMMR5uJ80YbQqW9RTdVpQW8zDWIx_oec2pHQUpfgNpx3w37DjSTgZ5KSXhaNGkostMMjNomOUTDIYw0yaNO1At6zxZOS_JYiTvHBfX/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/AVvXsEjp0q1Fkav0C_jaIojS7zsvYMvrlQ7Ay74HqNMgqoqS5fnhLfMawsNW_gQFw5tn77cPbi7mjAreFjHc8MtIZdaLFSxNVpnSGkWqIAxO6EQNLlMxkqEJsH2JG2OTQrtFKw5N8EtNXWlrYn79/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/AVvXsEgpQcD0Kk1ONwP6jy8aQ-FOFkfGpbu-nchDH3BJrj5rIUd22v8xI4bTEY455lSDoG0eU1jV0LDn2E5xCSHEq1NWhyphenhyphen8Y4T-eGaWBMxBS5FOItxKw1_m2nyxdMb804hCkw2MWXHXinGZEU5oq/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/AVvXsEgrb9It7YoFZvnNOLzxKAkQ3Z-Ar_pzsGOaGm5mJeGicMSNuTu-9wA1gDAxG4C0X1AsEguYppa4aCem0dpCgaanb315iw9lYxkwtBss4ad0yb77vU98vqaHAK-hagbRSLrLCtfzYpmxhVrI/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>

Step 4. Click on Save.
That's all !!!

Tags:

No Comment to " Google Translate Widget With Flags For Your Blogger Blog "