26 October 2008

Blog Foreign Language Translation Widgets

Internet is spreading around the world like a strong virus. Many new users are coming from the non-English language countries. Do you want to let them read your blog as well? With developed widgets, it might be not as complicated as you think. Definitely, the translation will be machine type, sometimes funny, sometimes hard to understand, but still it will give your readers ability to understand what you are talking about.

Let’s add free translation services to your blog.

Try Google's translator to translate your blog or website. It has flags to specify the language. When user clicks on the appropriate flag, that page will be automatically converted to the foreign language.

To create a translation box on your page or sidebars, add the following code to template or add sidebars element:

<form action="http://www.google.com/translate"><br /><br /><script language="javascript" type="text/javascript"><br /><br /><!-- document.write ("<input name="u" value="+location.href+" type="hidden">")<br /><br />// --><br /><br /></script><input value="http://www.yourwebsite.com/" name="u" type="hidden"><br /><br /><noscript><input value="http:// www.yourwebsite.com /" name="u" type="hidden"></noscript><br /><br /><input value="en" name="hl" type="hidden"><br /><br /><input value="UTF8" name="ie" type="hidden"><br /><br /><input value="" name="langpair" type="hidden"><br /><br /><input onclick="this.form.langpair.value=this.value" title="العربية / Arabic" value="en
ar" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/358406/gse_multipart12399.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title=" България/Bulgaria" value="en
bg" type="image" height="20" src="http://2.bp.blogspot.com/__v4nth5_ki0/SMiXtQx-uLI/AAAAAAAAG6I/RuLPDhnFMXY/s320/Bulgaria+-+bg_flag.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="中文(简体)/ Chinese (Simplified)" value="en
zh-CN" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/546049/gse_multipart12397.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="中文(繁体)/ Chinese (Traditional)" value="en
zh-TW" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/208681/gse_multipart12398.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Hrvatska / Croatian" value="en
hr" type="image" height="20" src="http://1.bp.blogspot.com/__v4nth5_ki0/SMhVoigYF0I/AAAAAAAAG5s/naE3NObTVZs/s400/Croatia+-+hr_flag.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Česká Republika / Czech Republic " value="en
cs" type="image" height="20" src="http://4.bp.blogspot.com/__v4nth5_ki0/SMiX9aMIL3I/AAAAAAAAG6o/4-RYadolKWQ/s320/Czech+Republic+-+cs_flag.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Danmark/Denmark" value="en
da" type="image" height="20" src="http://2.bp.blogspot.com/__v4nth5_ki0/SMiX9nD1NZI/AAAAAAAAG6w/ZnIBEtLIHEw/s320/Denmark+-+da_flag.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Suomi/Finnish" value="en
fi" type="image" height="20" src="http://2.bp.blogspot.com/__v4nth5_ki0/SMiZwsOFndI/AAAAAAAAG8w/VlBr_zN32q8/s320/Finland+-+fi_flag.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Français / French" value="en
fr" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/327620/gse_multipart12413.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Deutsch / German" value="en
de" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/734899/gse_multipart12400.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Ελλάς / Greek" value="en
el" type="image" height="20" src="http://bp3.blogger.com/_pzC_7PLtN-0/R7CKOqA_bjI/AAAAAAAAA8A/7bmPVwaFDcQ/s320/Greek+Flag+36x24.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Hindi/India" value="en
hi" type="image" height="20" src="http://4.bp.blogspot.com/__v4nth5_ki0/SMiYu9muwaI/AAAAAAAAG7Y/lO6YgNdyHM4/s320/India+-+hi_flag.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Italiano / Italian" value="en
it" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/306145/gse_multipart12401.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="日本語 / Japanese" value="en
ja" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/443122/gse_multipart12402.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="한국어 / Korean" value="en
ko" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/581031/gse_multipart12403.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Nederland/Dutch" value="en
nl" type="image" height="20" src="http://1.bp.blogspot.com/__v4nth5_ki0/SMiZWUAFSOI/AAAAAAAAG74/lsNT2NI_oFI/s320/Netherlands+-+nl_flag.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Norge/Norwegian" value="en
no" type="image" height="20" src="http://2.bp.blogspot.com/__v4nth5_ki0/SMiZWYWSvEI/AAAAAAAAG8A/7sOoou7far0/s320/Norway+-+no_flag.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Polska / Polish" value="en
pl" type="image" height="20" src="http://bp1.blogger.com/_pzC_7PLtN-0/R7CAvKA_bgI/AAAAAAAAA7o/pKLqrW8EpD4/s320/Polish+Flag+36x24.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Português / Portuguese" value="en
pt" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/670301/gse_multipart12404.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="România / Romanian" value="en
ro" type="image" height="20" src="http://bp2.blogger.com/_pzC_7PLtN-0/R7CAvaA_bhI/AAAAAAAAA7w/HTWQoR8M6lQ/s320/Romainian+Flag+36x24.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Русский / Russian" value="en
ru" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/111692/gse_multipart12405.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Español / Spanish" value="en
es" type="image" height="20" src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/998398/gse_multipart12407.png" width="30" name="langpair"><br /><br /><input onclick="this.form.langpair.value=this.value" title="Sverige/Swedish" value="en
sv" type="image" height="20" src="http://1.bp.blogspot.com/__v4nth5_ki0/SMiZwrYspyI/AAAAAAAAG8o/uVUWBAyZkVc/s320/Sweden+-+se_flag.png" width="30" name="langpair"><br /><br /></form>

Please remember to replace www.yourwebsite.com in the script with your website's url.

You can also use Alta Vista Babel Fish widget to translate that webpage. Copy and paste the following code into your website.

<br /><script language="JavaScript1.2" src="http://www.altavista.com/static/scripts/translate_engl.js"></script>

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...