0
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/AVvXsEh5AjO4L57tIrf86dPpdOcH1_KMmsfsG0YnSXkOKev6L0OT6z0HvmfrBjmYO2k6xFZqwAJoQ7b2b-HsXkrHriASFx8gltyg9DL9tDy5IliEXqo3HggOWt357lC4q8OIw3LyD2GegMYkDLMn/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/AVvXsEi-3K0loZWfDsaL1Wyp3qma14k0HHIqTw4uZ6X8fePNCvTBZ94wfy8YeZxh0-HWB9oYcdcpxxgG-IfdKyO0Ve-xSpwtdO3gS41pOSzX0p10x0yFVGbDCuv0ITMCFJVpfLao3gXVa5vn6wmR/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/AVvXsEge8GNlgm4aJ9mbD_rumF-i2w3orbfSrdTxEJohFPWwgLODQQMqXYh4maR3GaVxbc5j3UO0augryaDyEyV8xq4yEMh1APKWgnLedE6jGCFauFJXF6tSNT2b0B8rW4UbsOQbkg5aFykQZmPc/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/AVvXsEjS9KzLWjW7SwWC6S7n9OCRIRsID0ot1HD-mNgjXHsiURYjAtOFcFgveB3xMXzyiD-jJHm3af7V0vXeCspmmirg5J3urzQg2LO4SSazAMT1KRecYH8Tkez6uR84c7uPIlupeJcbf42RXRO7/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/AVvXsEhhw6NlkgRmApjfgc_i6gj9i9AdWuJ3axOhW3fDevB18Q4kaWr6e6JxRKU-xDD_sKYGInTBIeSJXMIzRxNbcISHy1MoTXrydUSW1yovc6lEd3PRGQUkIz6VmiM5qlT3UYzdFY52XNkashFW/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/AVvXsEjsQetfrRtQ19l5_WHmQtnBhsGwEYKSS-RYq0NkRXDEhAXKpZQkaHZmzKJBIklSqM24MU6vh7XV3i_0NH98xncR20LR6DS5BfO977Sf-b_Wvt1dnsi_TEaD7BWP1GP1hzaj0U6lkCgyxbzS/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/AVvXsEiVVhOC7wrlEVf181deVGWkRXGg1a-H3DE1t1THKAXl-TdxEmCj_Ey242v5EDvBNDhzERWo2qGolfuDx_M37N6YhvZcm7mPPn2j30Af4SCiTDzg2SwbxIAqHNuxbvXipwdFZFzsHvBZoOq3/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/AVvXsEiS8QbCOMTkCY_dOalIl82P3IpqwVYGk-p_6-1x5pSJeLWKPbnZ1VnRM1FHeHLp7ldDpM_asqioT_riiZXjB8hJNdMgWHAxuUcvlKv8KEXXVroi75AcSOsxF4CNelEOOlReWp_of5dYAAmP/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/AVvXsEgjj68HMglOfqANqIcwsrEHNRJmp4IBWmO5SayN4NK3_S1EqNOyFab_CxRlqQ_qYFc2lVVjdImeMwa9DFeUgLPGQVzlokE1BrMI2rSCDzqV8pkzRGS301vfhZina9lnxjDu49pFxKzF2s38/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/AVvXsEhyC_Fcxl-_UxrfjCVPIssS-2M-7nEq-8gBDF1t8VEcX0yV7k3a-3KmKtmQZlih6ZMNNs5fCYpyZq2TnzI5rp_3kFuW-tbbIbE9OHJyUxkp5qSHAqA8DlSeZNose1CBoPO4s2m_0FmRm-bb/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/AVvXsEg_MjtgWXGAo0QLQpf-av8N-h1S2-63VITD5HyFioZVI6a3fQ51bCAXswuoToi2GO-dO4xt7HlNilLbm9IKIUojilzy43VJptwZGeP8quooqXy-R_eTes5tsr5AuV0Ygl-iJ_cjIibwhCXL/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/AVvXsEh2pwM3Iq_RAUwngOcJIDqrusGhmv20CBN44q_b_uPnsxmxu3GK55FxWVhE-_G3hVd2MsIS1clF2y-W0IdPrS6sndZDuT_pCiYwbCb_8LGRr3vm5TXy9P-9P4vKOpWdndcSmQEonpV0FYS7/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

Post a Comment

 
Top