Sep 2, 2008 in

Google translation Flags Widget for Blogger Blog

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.

 Google translation widget

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://www.techieblogger.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.

 24 Supported Languages

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. i can even provide help through google talk. Add mohamedrias1103@gmail.com to your gtalk account.

Check Out This Popular Posts

25 Responses So far
gravatar
Nithin
on September 2, 2008 at 1:09 PM  

So atlast you removed it...:)

Hey tou can display it but with some alterations...Edit that image"remove Ctr and cpm"...just make them white...And post it again...

Im also relieved after you removed that image...:)

gravatar
Mohamed Rias
on September 2, 2008 at 6:47 PM  

Hi Nithin ,

Thank you so much for telling me that. As soon as you told me I removed it. But soon i will post on the same topic with some alterations.

regards,
Blogger Accessories

gravatar
Charles
on September 3, 2008 at 12:07 AM  

Hi!

I would like to comment on how the codes are viewed. The codes in codeview passes the borders. Can you modify it so that it wouldn't pass the borders of codeview?

gravatar
Unknown
on September 3, 2008 at 1:25 AM  

This is the best widget I have ever seen! I just increased my potental reader x10

gravatar
Anonymous
on September 3, 2008 at 1:59 AM  

Excellent, I just noticed that the Romanian Flag is in fact the Swiss flag. The confusion is probably caused by the fact that Roman is a Swiss language. But apart from that GREAT and sorry I did not notice the issue above when testing.

gravatar
Mohamed Rias
on September 3, 2008 at 2:25 AM  

Yes John , You are right. I will change it soon.
Thanks for your comments

regards,
Blogger Accessories

gravatar
Anshul
on September 6, 2008 at 5:36 AM  

Hi friend .Check this blog http://earnwithbloggers.blogspot.com in both browsers mozilla and explorer.In mozilla expndable post hack is working and in explorer site is not opening.Help me out.

gravatar
iPod Touch
on September 12, 2008 at 3:53 AM  

Hey Mohamed Rias,

Can you please make an XML template of the current layout you're using on Blogger Accessories?

gravatar
Unknown
on September 14, 2008 at 8:45 AM  

I cannot do the post comment like you
what happen with my blogger template?
..please help to explain me ..
kindest regards,

gravatar
Mohamed Rias
on September 15, 2008 at 9:57 AM  

Hi Mr.Sim ,

welcome to Blogger Accessories. If you want to embed comment form below each post then visit this post

http://rias-techno-wizard.blogspot.com/2008/07/embed-comment-form-below-post-in.html

If you want the css code of my style , then please mail me your template . I will edit it and then i will send it to you back.

mohamedrias1103@gmail.com

regards,
Blogger Accessories

gravatar
P.R.O.V.I.D.E.R.
on October 7, 2008 at 10:39 AM  

thxxxxxxxxxxxxx due
very useful

gravatar
NetXposed
on November 3, 2008 at 1:47 AM  

thanks Google translate is a very use full widget. Thanks alot for your support

gravatar
vhingF
on December 2, 2008 at 11:52 AM  

at long last i found this CODES.thank you so much.but some are missing.i look forward soon of some additional country.GOD BLISS!

gravatar
Dr. Internet
on December 19, 2008 at 7:22 AM  

Rias, It's nice... Can you make it like drop-down button? Otherwise it takes too much place.

gravatar
AIA BERHAD
on January 8, 2009 at 12:30 AM  

The widget is very useful. Thanks. However, I have a small problem translating from English to Korean language. So, can you tell me why it happens and the ways to solve it. Your reply is much appreciated in advance. Thanks...

gravatar
Rohit KIshore
on January 8, 2009 at 6:12 AM  

Thanx Bro!

gravatar
Shafar
on January 21, 2009 at 9:18 AM  

Very useful widget. Thanks..

Tips Blogger dot Com

gravatar
evaggelos evaggelou
on March 3, 2009 at 7:23 AM  

very beautiful and practical. Thanks..........



http://www.lovefortechnology.com/

gravatar
Anonymous
on March 27, 2009 at 5:06 AM  

thanks very much

gravatar
dede
on April 14, 2009 at 8:48 AM  

Nice blog! I love this template

gravatar
Google +1 Consultant
on April 21, 2009 at 2:36 PM  

Thanks but no thanks i tried a lot to read all your content but cant
www.linkbuilder.co.cc

gravatar
Shivani Saini
on May 22, 2009 at 2:27 PM  

thanx Rias ;) nice post.

http://xperiencemedia.blogspot.com/2009/03/creative-use-of-back-lighting.html

gravatar
Aravind D Reddy
on May 23, 2009 at 4:24 AM  

Wonderful Widget. Thanks a lot for it.

gravatar
bestofblogger
on June 1, 2009 at 12:34 AM  

thanks for post

i convert it my blog
http://bloggerofbest.blogspot.com/

gravatar
Admin
on June 13, 2009 at 10:55 PM  

Thank you very much. Please visit my blog www.topsofts.tk. But I have one question. How to change that it won't be opened in new window? Please response

Post a Comment

Custom Search
Web Analytics