Skip to main content
Translator

Microsoft Translator Blog

Linking to a foreign language web page with Microsoft Translator

Have you ever wanted to link to a web page that is in a different language than your own site?

(Update 01-2015)

Translator Widget: For your own pages (http and https)

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.

For instance, this article in English has the following link: http://blogs.msdn.com/b/translation/archive/2008/11/10/linking-to-a-foreign-language-web-page-with-microsoft-translator.aspx

In Spanish: http://blogs.msdn.com/b/translation/archive/2008/11/10/linking-to-a-foreign-language-web-page-with-microsoft-translator.aspx?__mstto=es

Billingual Viewer: On any web page (http protocol only, no https)

You can use Microsoft Translator bilingual viewer to link to the translated web page. 

Examples:

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)