Pages

Sponsored Ads

Free Browsing Updates
Enter your email address:

Trending Music Updates

DATA LITE DATA HEAVY
10MB 1GB
50MB 2GB
100MB 3GB
200MB 4GB
300MB 5GB
500MB 6GB

CALL or whatsapp Gideon To Buy Now!
Powered By TDY

Facebook badge

Copyright ©2013 Ballo by
Powered by Blogger.

Trending

Hello world

-->
Receive More Updates

Date: - Time:
SMS: Send FOLLOW BALLOWAP To 40404 For Free - EMAIL: azeezbello8@gmail.com

Saturday, 28 April 2012

Google Translate Widget with Flags For Blogger

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.
google translate for blogger, blogger gadgets, blogger tricks

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/AVvXsEj7TcKL40Vh4JT_nOfmXsdd6ZyaqavmSLgeU2iufP2KiJopkgrfmyrHrzEFJuYPC-dIkiuESyqV2ukL3OzfQpshKwW6YRB_Qm2zF2uWNPVygAZDU4GyNxBdPxBLuMw6eXv0Eegcw3VPeVxV/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/AVvXsEgC_KbsTwTG5P_u3bMIeOTOPZEJNqIDfy0hQd3vpxgZT4Vi-WHYYnP8d7Y-0N0kHcwBH0DQgWr01Z3FJf7itKURgzbKai5qP06r7ulkB1Sttfu9VmUo-Iyaz-Ue4FUSzGTgglm3TDw1hokR/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/AVvXsEguks9gtdH8TfSxAxCVsh9ql2i0jtEM92G3Ql-10B9U0zGgU5ccnkvpKkj4WxVeaoxgW1c06Mo3TtVN6G0E0zaj9ptznB5arMB6O-018FJNO7Ahhe4zazGjtXIKxjq9DxFEdt3bXYMID1sP/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/AVvXsEh94jt0FhuZ_adgGcxyrS19xEEetW7wol9QQI9XJQ80sf1Vegb8qpF5Lezq7ojINcDLjD_oeDqO8grZBVfxmK_SWCreW236BwKmEL9QIeepEuyNj2iuk0tXK5w6fEodfanw55UD_DWvx5R7/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/AVvXsEhVCOeys8HjMfPwAlvy48xOA8hICSYzNnPSWYRpECxTiOPL9DC-cQIZbvAOpKx6gLJgIZxO2qAaqRw-GG_U2d-IOcUz6inZJ_Xx7Xux-qL1X-ZZriEU2MtjPMqLABzVS_gjl3XRj2leh7CW/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/AVvXsEgTZj2sVcTnhKBya5Jgf9UC0kvea2UQCfIhQK6rAiyuygaayqrGdf7SDE0rcGm6kL1l3btydudbzhhpv4wm1CVh5by1aRAryKWFWDelYEI3xjYbvwXNFrn2XK175S0zpVppo5lVjyFHSSeP/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/AVvXsEgPD93O3qeBjDEidbhqg8TQmDJu-q9HVwwY1gkvFP7q1QviGqTHnYp959Rj0DJNcusp8i72JA6xmYvuLUQivCKiNnPeSil27FX0Gup0aeh4AnbDi8QrqhQkJK5Bplk7HIrNdiCHRFuiMLwA/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/AVvXsEidj3TIi5i6HUqjMDX3z4_lQgdWNjV-1jJ95himJc5_a3qTZ_WPOT7uEl2QcWC-sLZF5JVX1JhVBnGHIVxXRdDnFjDn-koKEZBs1pmMoqgLBUCqL_tfZQm1BpJ09kBcSBMEwCA-yWkRLwsA/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/AVvXsEjw6-oYOLzx-_K6qfaO6mZ00VjJiJONWOd5vB4FBAzgMZybZKLp-y099NeNAn7T232XUIuTzo-x05rw_LHw_qsh-Fsh36JD8IHppqKWbo0CnLtePRpIW9eqViXHs5H89y_eCfK_kQP7wnMb/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/AVvXsEipVkBZrvSEKQQ9bHqjxUq2AV7bIaZfEUTnMqhhZx7yU42Vs4TQ7c0LEdoukI7JZxkg56B1dRRzt1tTJm2OZrFQK00rf7jj4MjtZ2w9J5CGm1Jd9du280jS275IoIO6dJS059PnAwXLi0Wo/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/AVvXsEiF_uWA3tfQkqzx__Gq4pzME8Oo4haXz53p5cpnr703gdthtPyIPMkEcNc_fKZfcvpDODef7LGQaT00FXZr2yF3xvCfcdiH520qkna9Z9-UIQ7j46CrGS_sq8OcrT0ZcMrj5jmo31v0SpNI/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/AVvXsEiMyryrCyeN041bupC8sarOfa9d6s5JKHRsOaLF8dRZs6Xs8UivlXex-y-ZMtMU3ssASCcZMXH2-iJJJxM5uGzYG_tJOVLDlFIRCJHkcYNwjaODamcMTKGP6unneNovgyiSiP5O7j1SsRk0/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

google translate, blogger widgets, gadgets for blogspot
And you're done! Enjoy (:

No comments:

Post a Comment