Subscribe to our RSS feed!
Popular » Botched Debate AdWords Case Funny Death By Blogging Wikipedia Rant Craigslist Money Link Bartering

Windows Live Translator For Your Site

Windows Live’s excellent Translator service has now released a single line of code that you can add to any website to give visitors the option of translating your website into their language of choice.

Just head to translator.live.com/AddIn.aspx, select the language your website uses, and it’ll give you the code. If your site is in English, this will be the code:

< script type="text/javascript" src="http://translator.live.com/TranslatePageLink.aspx?pl=en" >< /script >

Just dump that anywhere in your template (hopefully somewhere people will notice) and your visitors will see a drop-down menu, where they can select usually from up to eleven languages to read the page in (non-English languages will have fewer options).

If you’d like to display flags of different countries as a means of showing translated versions, you can hack the code to link the flags to the proper translation. You’ll need to link the flags to URLs like this one:

http://www.windowslivetranslator.com:80/BV.aspx?lp=en_nl&a=WEBSITEADDRESS

The “WEBSITEADDRESS” has to be replaced with the actual web address, or a function that inserts the web address, and “en_nl” has to be replaced with the codes for the original language (”en” for English) and the language being translated into (”nl” for Dutch). To see this page in Dutch, click here.

Comments

Digg This! StumbleUpon This!
AddThis Social Bookmark Widget

About the author:
Nathan Weinberg writes the popular InsideGoogle blog, offering the latest news and insights about Google and search engines.

Visit the InsideGoogle blog.

Subscribe to WebProNews


Send me relevant info