iEntry 10th Anniversary RSS Newsletter Advertising
Visit Twellow.com
Text: Decrease Font Size Increase Font Size | Print Print Article | Share: Delicious Digg StumbleUpon Post to Twitter Post to Facebook
CommentWednesday, November 14, 2007

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

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.

Publish A Comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
SEARCH
Popular WPN Business Resources












Subscribe to WebProNews


Send me relevant info