Skip to main content Home Business intelligence Community, Social, and Gaming Customer Support Education Internal Communications Live and Remote Communications Readiness and Training Web Localization and Ecommerce More Solutions Text Translation Document Translation Custom Translator Translator Apps Office SharePoint Yammer Visual Studio Speech Translation Computer Vision Conversational Language Understanding More Languages Blog FAQ Text Translation Document Translation Custom Translator Other Cognitive Services Support Contact Confidentiality Attribution Machine Translation Customers Partners Partner Program Community Partners Try for free now Microsoft 365 Azure Copilot Windows Surface XBOX Deals Small Business Support Windows Apps Outlook OneDrive Microsoft Teams OneNote Microsoft Edge Moving from Skype to Teams Computers Shop XBOX Accessories VR & mixed reality Certified Refurbished Trade-in for cash XBOX Game Pass Ultimate PC Game Pass XBOX games PC games Microsoft AI Microsoft Security Dynamics 365 Microsoft 365 for business Microsoft Power Platform Windows 365 Small Business Digital Sovereignty Azure Microsoft Developer Microsoft Learn Support for AI marketplace apps Microsoft Tech Community Microsoft Marketplace Software companies Visual Studio Microsoft Rewards Free downloads & security Education Gift cards Licensing Unlocked stories View Sitemap

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)


English (United States)
Your Privacy Choices Opt-Out Icon Your Privacy Choices
Consumer Health Privacy Contact us Privacy Manage cookies Terms of use Trademarks About our ads