Make Available You Blog In Different Languages

If your blog is accessible in different languages, even reader of different countries can access your blog in their languages which can improve your pageviews and revenue scope.

Here’s a javascript code compiled by Amit of Labnol, which uses javascript to translate your website/blog from English to 9 languages,ie., French, German, Italian,Portugese, Spanish, Japanese, Korean, Simplified Chinese, and Arabic.

<form action="http://www.google.com/translate" >
<script language="JavaScript">
<!--
document.write ("<input name=u value="+location.href+" type=hidden>")
// -->
</script>
<input name="hl" value="en" type="hidden">
<input name="ie" value="UTF8" type="hidden">
<input name="langpair" value="" type="hidden">
<input name="langpair" value="en|fr" title="French" src= "http://www.techyard.net/wp-content/uploads/2012/03/13539949_e76af75976.jpg" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30">
<input name="langpair" value="en|de" title="German" src= "http://www.techyard.net/wp-content/uploads/2012/03/13539933_041ca1eda2.jpg" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30">
<input name="langpair" value="en|it" title="Italian" src= "http://www.techyard.net/wp-content/uploads/2012/03/13539953_0384ccecf9.jpg" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30">
<input name="langpair" value="en|pt" title="Portuguese" src= "http://www.techyard.net/wp-content/uploads/2012/03/13539966_0d09b410b5.jpg" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30">
<input name="langpair" value="en|es" title="Spanish" src= "http://www.techyard.net/wp-content/uploads/2012/03/13539946_2fabed0dbf.jpg" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30">
<input name="langpair" value="en|ja" title="Japanese" src= "http://www.techyard.net/wp-content/uploads/2012/03/13539955_925e6683c8.jpg" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30">
<input name="langpair" value="en|ko" title="Korean" src= "http://www.techyard.net/wp-content/uploads/2012/03/13539958_3c3b482c95.jpg" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30">
<input name="langpair" value="en|zh-CN" title="Chinese Simplified" src= "http://www.techyard.net/wp-content/uploads/2012/03/14324441_5ca5ce3423.jpg" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30">
<input name="langpair2" value="en|ar" title="Arabic" src= "http://www.techyard.net/wp-content/uploads/2012/03/arabic-flag.gif" onclick="this.form.langpair.value=this.value" height="20" type="image" width="30" />
</form>

Note:If you copy-paste the code, and you get any errors try to retype the quotes in the JavaScript Code.Also if you want to use the try uploading the flags to your server.

If you are WordPress you can try out the Global Translator plugin which can automatically translate your blog in the following different languages: English, French, Italian, German, Portuguese, Spanish, Japanese, Korean, Chinese, Arabic, Russian, Greek, Dutch, Norwegian, Bulgarian, Czech, Croat, Danish, Finnish, Hindi, Polish, Rumanian and Swedish.global-translator

Similar Post  Implement Page Navigation In Wordpress With Pagebar Wordpress Plugin

Features :

  1. Four different Translation Engines to choose from : Google Translation Engine, Babel Fish, Promt, FreeTranslations.com
  2. Search Engine Optimized: Uses this prmalink structure www.domain.com/en/mycategory/mypost
  3. Built-in cache to reduce the online connections to the translation engines.
  4. Easily customizable.

And is also compatible upto WP 2.5.*

Global Translator : HomePage | Download v 0.9 Release Date May 10 2008

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.