Tuesday, March 14, 2017
Translate blog post to any language using Google Language Translate widget on your blog
Translate blog post to any language using Google Language Translate widget on your blog
The google language translating widget, helps your readers Translate your blog post to any language among the 12 languages provided. This will make non English speak country also visit your blog, since they can adjust your blog write up to there language for understanding. So let no one say "I dont understand English that why I dont visit your blog".
It can also auto detect language and also translate your blog post to the reader chosen language.
Follow the steps below to add Google language translating widget to blogger.
Step 1.
Login in to your blogger dashboard; select LayOut then next click on AddWidget.
Step 2
Scroll down to HTML/JavaScript.
Now highlight your cursor if on screen touch smartphone simply long press to see the select and copy option.
Now paste the below code you copied into the blank box you see after clicking on AddWidget.
<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/AVvXsEg_EoBdDqbSJlQ3vXAgCWlFyaSHFtDBanJkvF-Ax05CeL_M2AHr4h0Cjw8sMUhmoC9YogG6nUhNRi5PJWo2iR6FuPV6i_ZSvgY_khzRz_GpNelUsu4RRjE4NYu6kS8vWxMVwxL4qWODitPy/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/AVvXsEh1WR7yc6THy3UaDDD4ZckBSIUtWSZz1AdrcpkGNY81TVrYbKswdWiNbKPLH2UEIP2znBG6Lj5uLZG2NaWxLL_bsKW9xrsvN0q4pdtmxquIwmyEi3YOd3C95-GRcpIl9WpuLdX6QZxojfvz/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/AVvXsEgkG4Q_P1wZwRe4tLtUnkTwBQQ0oQmEswgdnpQz9gPbAS075rrpvVqYg-msMaO819q7YZ29_yyjmNz9hIlShJsWCGPF3Jc-6YjVLy0SX1sKGluuToX7wjeOlo5CWr2DJT_ZgY-79xgKCPMG/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/AVvXsEgmYnpVR_mWxzvcK2771JRAS8VAqz-EdBNBhPzFnZWELfdJsWX3uzku5HroyLu683C100OYYsD-M1bLh_D3dYdwFDtBPS5YlMzkS78davnyu0pVzm0TL5QSEmbia_qArqXbJH2lqq9hr5yW/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/AVvXsEggCSHeZxKcbkA1kBq5dOxLZvbRpOA3k-AsOXwNALEZQwsSaAE-9hUS7Faya1EETpK__27diy9MXghFMSHAYMJqtie_8FwHWSp1f0rijf6pAY_gwThMLMaM-1RKEevTcRXnQDfW8tpJyD-I/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/AVvXsEhSWmgjIO_sHi3vPFErCeEDhYzCq_bBC4RcmmfinzVx6_L0Uu2-6w7u9E1Y1t5oAur8zHvbDVUSqtl2RCYHMsXHuIuf4Hwl5oMQ86N3_5dxfdIntD6T1FkZV68tuPlc-zFQVYOf0HgzYZ95/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/AVvXsEhf7m8tzVlRmoIr81lVPnM88ufWYJU-52D3J-si-Fql4JWA-fKJUQUBJIXFiIYwHcrj5DXqMKe2m5-Iq9Nf1nwEXnBnHv_cbJxVfjnjnq7DsYArzDLYXmFvfsD6atxg_Irn8dJyIjS6PHSr/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/AVvXsEj2QoyxDgPTjv3fiWtOTb-trdT42eGhYYVS1HdIj6HMN1Y31fDjmjkt-iY9jyfYdGSvEoYFIkOqicyK1eqEsPkQ5HLnwrTSs6411JRTVLmPlHkwDuudZSlLtI2TFZvPUxcE9Ht5sqnl37oQ/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/AVvXsEjl8VyTJpa6vCoPItOlRd9IruKw03Yyk7zoNGvl5TXZfZbMiZ4RudfNa807rHzA2rBbhVJSPOvWJoVkz5Q1_rMybj9nfCBcHFjg_SfCQTkQ5gLCBEow7vXoWANcJRmgMcdCGYk1ZdsqE0Sb/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/AVvXsEiniG-SsgwvhwEhclBXgKnj_oI9sPcG_0p5zG22itUmOY1y1rvRkeQO3eEUhO0a72de1UJOKAJ7wBjtYTKJ3BvzmaJe_a-7p9wrcajq01mDPKdR3Yzq1g6e1gXwXfCCFUBX4U1vb8oXePC3/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/AVvXsEgj3IBgKtLW4E2fMeOpMBEHa_VPo2xTB4PKJawmeGPiNIYUo0hxlpFJb8Wr09EY8Lx1SiXQHtCLoxxdA6jpQGaP1OL7ntnFRu_p4fYHMo8JzoQl6Ch3vpg655GhOZWcFlGByP3CP5KTYFBa/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/AVvXsEgYvrKBEs9-geogyz4WnBqk0atUgubBTFdN9AooX98-5mQx-CUOVk3aKtTP5OafvmNcmeO0eilz2fDiugJo84-tkYR_QTH4W9jQBh8kHJGhq8erk5SFsrslC9NfYQ0Bw24JYsqiwnwlag7A/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>
NB; Never you write any thing in the title box provided above the blank box.
Step 4
Click on Save to save the changes you have made in your blogger blog layout.
Comment are attended to immediately, do not hesitate to ask questions and let us know if this trick helped you.
posted from Bloggeroid
Available link for download
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment