Welcome to MSDN Blogs Sign in | Join | Help

Linking to a foreign language web page with Microsoft Translator

Update: For your own pages, the Microsoft Translator webpage widget allows you to deliver the page in multiple languages, without taking your users away from the site. Go here to get the code snippet for your widget. Pages with the widget on them can be linked to in a specific language by adding #mstto=<lg> to the URL where <lg> is the language code (like es for Spanish) you want the page to be shown in.

Have you ever wanted to link to a web page that is in a different language than your own site?  You can use Microsoft Translator to link to the translated web page, within the bilingual viewer. 

Example of showing an English language site to a foreign language user (Simplified Chinese):

http://www.microsofttranslator.com/bv.aspx?from=en&to=zh-chs&lo=TB&a=www.technet.com

Example of showing an foreign language site (Japanese) to an English user:

http://www.microsofttranslator.com/BV.aspx?from=ja&to=en&lo=TP&a=http://www.metro.tokyo.jp/

You can directly embed all the options in the link. Here is how that works:

Syntax (see examples above):

http://www.microsofttranslator.com/bv.aspx?

          from=<source language>&

          to=<target language>&

          lo=<layout>&

          a=<target address>

Valid language codes:

en, de, fr, it, es, pt, zh-chs, zh-cht, ja, ko, ar, ru, nl, cs, da, he, el, pl, sv, th

Valid layout codes:

SS (side-by-side), TB (top-bottom), SP (original with hover translation), TP (translation with hover original)

Published Monday, November 10, 2008 12:44 PM by MSR-MT Team

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Linking to a foreign language web page with Microsoft Translator | Tmao Coders

Saturday, June 27, 2009 4:26 AM by Computer products

# re: Linking to a foreign language web page with Microsoft Translator

If I use Microsoft Translator to link to the translated web page, the page will show in a frame, right? I don't want to show any frame. Any way this can be achieved?

Sunday, November 01, 2009 11:01 AM by MSR-MT Team

# re: Linking to a foreign language web page with Microsoft Translator

Computer products,

you can translate your own site (any site you can place a piece of javascript on) without a frame using our widget: http://www.microsofttranslator.com/Widget/. Your site visitors receive an instant translation directly on your site. No frame, no change in the URL.

Monday, November 02, 2009 2:44 PM by A Seedbox

# re: Linking to a foreign language web page with Microsoft Translator

Interesting I will be trying this out.

Monday, November 02, 2009 5:36 PM by MSR-MT Team

# re: Linking to a foreign language web page with Microsoft Translator

Good. Let us know how it goes. There is a forum at http://social.msdn.microsoft.com/Forums/en-us/microsofttranslator/, if you want to ask a question or see what others have to say.

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker