Google translation Flags Widget for Blogger

2/12/2009 07:53:00 PM Posted by c3v3n

by Mohamed Rias

Now with Google translation widget you can translate english to 24 other languages like Arabic , Bulgarian , Chinese ( simplified and traditional) , Croatian , Czech , danish , Dutch , Finnish , French , German , Greek , Hindi , Italian , Japanese , Korean ,Norwegian , Polish , Portuguese ,Romanian , Russian , Spanish and Swedish. I hope no one might have seen such a huge list anywhere. This Widget is powered by Google. This Google translation Widget helps your readers to read the article in their own regional language.


You can add this widget either in sidebars or below each post.
Code for Google Translation Widget :

<div style="padding:10px 10px 10px 10px;text-align:center;">

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Car&hl=en&ie=UTF8'); return false;" title="Translate English to Arabic"><img border="0" style="cursor:pointer; cursor:hand;" alt="Translate English to Arabic" width="24" src="http://i263.photobucket.com/albums/ii150/mohamedrias/Arabic_Flag.png" height="18" title="Translate English to Arabic"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Czh-CN&hl=en&ie=UTF8'); return false;" title="Translate to Chinese (Simplified) BETA"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Google-Translate-Chinese (Simplified) BETA" src="http://i263.photobucket.com/albums/ii150/mohamedrias/_chinese_s.png" height="18" title="Translate to Chinese (Simplified) BETA"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cbg&hl=en&ie=UTF8'); return false;" title="Translate English to Bulgarian"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Arabic" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Bulgarian_Flag.png" height="18" title="Translate to Bulgarian"/></a>



<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Czh-TW&hl=en&ie=UTF8'); return false;" title="Translate English to Traditional Chinese"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Arabic" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Mandarin_Flag.png" height="18" title="Translate to traditional Chinese"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Chr&hl=en&ie=UTF8'); return false;" title="Translate English to Croatian"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Croatian" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Croatian_Flag.png" height="18" title="Translate to Croatian"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Ccs&hl=en&ie=UTF8'); return false;" title="Translate English to Czech"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Czech" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Czech_Flag.png" height="18" title="Translate to Czech"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cda&hl=en&ie=UTF8'); return false;" title="Translate English to Danish"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to danish" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Danish_Flag.png" height="18" title="Translate to Danish"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cnl&hl=en&ie=UTF8'); return false;" title="Translate English to Dutch"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Dutch" src="http://i40.photobucket.com/albums/e208/winglord01/nederlands.gif" height="18" title="Translate to Dutch"/></a>


<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cfi&hl=en&ie=UTF8'); return false;" title="Translate English to Finnish"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Finnish" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Finnish_Flag.png" height="18" title="Translate to Finnish"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cfr&hl=en&ie=UTF8'); return false;" title="Translate English to French"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to French" src="http://i18.photobucket.com/albums/b120/pdhinderlie/Web%20Stuff/Flags/flag_fr.gif" height="18" title="Translate to French"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cde&hl=en&ie=UTF8'); return false;" title="Translate English to German"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to German" src="http://i263.photobucket.com/albums/ii150/mohamedrias/_german_s.png" height="18" title="Translate English to German"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cel&hl=en&ie=UTF8'); return false;" title="Translate English to Greek"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Greek" src="http://i18.photobucket.com/albums/b120/pdhinderlie/Web%20Stuff/Flags/flag_gr.gif" height="18" title="Translate to Greek"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Chi&hl=en&ie=UTF8'); return false;" title="Translate English to Hindi"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Hindi" src="http://i323.photobucket.com/albums/nn467/techbookmark/hindi.png" height="18" title="Translate to Hindi"/></a>


<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cit&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to Italian"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt=" Translate English to Italian" src="http://i263.photobucket.com/albums/ii150/mohamedrias/_italian_s.png" height="18" title=" Translate English to Italian"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cja&hl=en&ie=UTF8'); return false;" title="Google-Translate-English to Japanese BETA"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Google-Translate-English to Japanese BETA" src="http://i187.photobucket.com/albums/x307/Mafishioso/_japanese_s.png" height="18" title="Translate English to Japanese BETA"/></a>


<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cko&hl=en&ie=UTF8'); return false;" title=" Translate English to Korean BETA"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Korean BETA" src="http://i263.photobucket.com/albums/ii150/mohamedrias/_korean_s.png" height="18" title="Translate English to Korean BETA"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cno&hl=en&ie=UTF8'); return false;" title="Translate English to Norwegian"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Norwegian" src="http://i536.photobucket.com/albums/ff328/pmhrid/norway_flag.png" height="18" title="Translate to Norwegian"/></a>
<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cpl&hl=en&ie=UTF8'); return false;" title="Translate English to Polish"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Polish" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Polish_Flag.png" height="18" title="Translate to Polish"/></a>
<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cpt&hl=en&ie=UTF8'); return false;" title="Translate English to Portuguese"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Portuguese" src="http://i18.photobucket.com/albums/b120/pdhinderlie/Web%20Stuff/Flags/flag_pt.gif" height="18" title="Translate to Portuguese"/></a>
<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cro&hl=en&ie=UTF8'); return false;" title="Translate English to Romanian"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Romanian" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Romansh_Flag.png" height="18" title="Translate to Romanian"/></a>
<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cru&hl=en&ie=UTF8'); return false;" title="Translate English to Russian"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Russian" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Russian_Flag.png" height="18" title="Translate to Russian"/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Cru&hl=en&ie=UTF8'); return false;" title=" Translate English to Russian BETA "><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Russian BETA " src="http://i263.photobucket.com/albums/ii150/mohamedrias/_russian_s.png" height="18" title=" Translate English to Russian BETA "/></a>

<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Ces&hl=en&ie=UTF8'); return false;" title="Translate English to Spanish"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Spanish" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Spanish_Flag.png" height="18" title="Translate English to Spanish"/></a>


<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Csv&hl=en&ie=UTF8'); return false;" title="Translate English to Swedish"><img border="0" style="cursor:pointer; cursor:hand;" width="24" alt="Translate English to Swedish" src="http://i166.photobucket.com/albums/u106/language_forum/Languages/Swedish_Flag.png" height="18" title="Translate to Swedish"/></a>
<div style="display:none;">
<small><a href="http://rias-techno-wizard.blogspot.com" target="_blank">Grab this widget</a></small></div>
</div>


Customizing the code to your language : In this widget i wrote coding to translate WebPage in English to other languages. If you want to use this widget to translate your regional language to other foreign Language , then you need to customize the script.

I am going to explain How to change text from Arabic to English. Do the same to translate from one particular language to other languages.


<a target="_blank" rel="nofollow" onclick="window.open('http://www.google.com/translate_p?u='+encodeURIComponent(location.href)+'&langpair=en%7Car&hl=en&ie=UTF8'); return false;" title="Translate English to Arabic"><img border="0" style="cursor:pointer; cursor:hand;" alt="Translate English to Arabic" width="24" src="http://i263.photobucket.com/albums/ii150/mohamedrias/Arabic_Flag.png" height="18" title="Translate English to Arabic"/></a>

The Text in green represents your web page language code. Since My Blog is in English i am using en ( english ) code. You need to change that code to your blog Language.

Language Codes :

Arabic = ar ; Bulgarian = bg ; Chinese Simplified = zh-CN ; traditional Chinese = zh-TW ; Croatian = hr ; Czech = cs ; Danish = da ; Dutch = nl ; Finnish = fi ; French = fr ; German = de ; Greek = el ; Hindi = hi ; Italian = it ; Japanese beta = ja ; Korean = ko ; Norwegian = no ; Polish = pl ; Portuguese = pt ; Romanian = ro ; Russian = ru ; Spanish = es ; and lastly Swedish = sv .

The text in red represents the language to which the web page is going to be translated. So put the respective language code there.

Add Google Translation hack as a Widget



Login to your Blogger Account then navigate to Layout section of your blog . then add a HTML / Javascript page element and copy and paste the code above there. And save the widget.

that's it you have successfully added the Google translation flag in your Blog.

Adding Google translation Flags below Blogger posts



To Add Google translation Widget below each post in blogger , Login to your blogger account and navigate to Layout section of your blog. then go to EDIT HTML subtab and put a check on Expand Widgets box.

Now search for this code <p><data:post.body/></p> and paste the following code below that line.

<div style='border: 1px solid rgb(153, 153, 153); padding: 5px; margin: 15px; background-color: rgb(255, 248, 175);'>

<span style='color:#000000;font-size:14px;text-transform:uppercase;font:georgia;margin-bottom:5px;'> Translate This post to your regional Language </span><br/>
&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Car&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Arabic&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; alt=&quot;Translate English to Arabic&quot; width=&quot;24&quot; src=&quot;http://i263.photobucket.com/albums/ii150/mohamedrias/Arabic_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate English to Arabic&quot;/&gt;&lt;/a&gt;


&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cbg&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Bulgarian&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Arabic&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Bulgarian_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Bulgarian&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Czh-CN&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate to Chinese (Simplified) BETA&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Google-Translate-Chinese (Simplified) BETA&quot; src=&quot;http://i263.photobucket.com/albums/ii150/mohamedrias/_chinese_s.png&quot; height=&quot;18&quot; title=&quot;Translate to Chinese (Simplified) BETA&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Czh-TW&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Traditional Chinese&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Arabic&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Mandarin_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to traditional Chinese&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Chr&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Croatian&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Croatian&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Croatian_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Croatian&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Ccs&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Czech&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Czech&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Czech_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Czech&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cda&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Danish&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to danish&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Danish_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Danish&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cnl&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Dutch&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Dutch&quot; src=&quot;http://i40.photobucket.com/albums/e208/winglord01/nederlands.gif&quot; height=&quot;18&quot; title=&quot;Translate to Dutch&quot;/&gt;&lt;/a&gt;


&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cfi&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Finnish&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Finnish&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Finnish_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Finnish&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cfr&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to French&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to French&quot; src=&quot;http://i18.photobucket.com/albums/b120/pdhinderlie/Web%20Stuff/Flags/flag_fr.gif&quot; height=&quot;18&quot; title=&quot;Translate to French&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cde&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to German&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to German&quot; src=&quot;http://i263.photobucket.com/albums/ii150/mohamedrias/_german_s.png&quot; height=&quot;18&quot; title=&quot;Translate English to German&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cel&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Greek&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Greek&quot; src=&quot;http://i18.photobucket.com/albums/b120/pdhinderlie/Web%20Stuff/Flags/flag_gr.gif&quot; height=&quot;18&quot; title=&quot;Translate to Greek&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Chi&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Hindi&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Hindi&quot; src=&quot;http://i323.photobucket.com/albums/nn467/techbookmark/hindi.png&quot; height=&quot;18&quot; title=&quot;Translate to Hindi&quot;/&gt;&lt;/a&gt;


&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cit&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Google-Translate-English to Italian&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot; Translate English to Italian&quot; src=&quot;http://i263.photobucket.com/albums/ii150/mohamedrias/_italian_s.png&quot; height=&quot;18&quot; title=&quot; Translate English to Italian&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cja&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Google-Translate-English to Japanese BETA&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Google-Translate-English to Japanese BETA&quot; src=&quot;http://i187.photobucket.com/albums/x307/Mafishioso/_japanese_s.png&quot; height=&quot;18&quot; title=&quot;Translate English to Japanese BETA&quot;/&gt;&lt;/a&gt;


&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cko&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot; Translate English to Korean BETA&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Korean BETA&quot; src=&quot;http://i263.photobucket.com/albums/ii150/mohamedrias/_korean_s.png&quot; height=&quot;18&quot; title=&quot;Translate English to Korean BETA&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cno&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Norwegian&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Norwegian&quot; src=&quot;http://i536.photobucket.com/albums/ff328/pmhrid/norway_flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Norwegian&quot;/&gt;&lt;/a&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cpl&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Polish&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Polish&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Polish_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Polish&quot;/&gt;&lt;/a&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cpt&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Portuguese&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Portuguese&quot; src=&quot;http://i18.photobucket.com/albums/b120/pdhinderlie/Web%20Stuff/Flags/flag_pt.gif&quot; height=&quot;18&quot; title=&quot;Translate to Portuguese&quot;/&gt;&lt;/a&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cro&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Romanian&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Romanian&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Romansh_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Romanian&quot;/&gt;&lt;/a&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cru&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Russian&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Russian&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Russian_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Russian&quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Cru&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot; Translate English to Russian BETA &quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Russian BETA &quot; src=&quot;http://i263.photobucket.com/albums/ii150/mohamedrias/_russian_s.png&quot; height=&quot;18&quot; title=&quot; Translate English to Russian BETA &quot;/&gt;&lt;/a&gt;

&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Ces&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Spanish&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Spanish&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Spanish_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate English to Spanish&quot;/&gt;&lt;/a&gt;


&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; onclick=&quot;window.open(&#39;http://www.google.com/translate_p?u=&#39;+encodeURIComponent(location.href)+&#39;&amp;langpair=en%7Csv&amp;hl=en&amp;ie=UTF8&#39;); return false;&quot; title=&quot;Translate English to Swedish&quot;&gt;&lt;img border=&quot;0&quot; style=&quot;cursor:pointer; cursor:hand;&quot; width=&quot;24&quot; alt=&quot;Translate English to Swedish&quot; src=&quot;http://i166.photobucket.com/albums/u106/language_forum/Languages/Swedish_Flag.png&quot; height=&quot;18&quot; title=&quot;Translate to Swedish&quot;/&gt;&lt;/a&gt;
&lt;div style=&quot;display:none;&quot;&gt;
&lt;small&gt;&lt;a href=&quot;http://rias-techno-wizard.blogspot.com&quot; target=&quot;_blank&quot;&gt;Grab this widget&lt;/a&gt;&lt;/small&gt;&lt;/div&gt;
</div>


Change the line in red to suit your Tempate.

Now you can see a beautiful Google translation Widget in your blog below each post.

I hope this hack will be very useful for all bloggers. if you need any help , please ask me in comment section.

0 comments:

Post a Comment