Microsoft® Translator Interactive SDK (微软翻译插件)

纯酱油篇

插件SDK链接:http://sdk.microsofttranslator.com/Widget/UseWebWidget.aspx

MSDN很多未翻译页面都是暂时用这个插件翻译的,微软的很多团队博客也使用了这个插件。

看一下ADO.NET 团体博客的效果:

翻译前----------------------

2011070415293729.png

翻译后----------------------

2011070415300022.png

SDK代码很简单,支持多种方式 Web Widget,AJAX Interface,Http Interface,Soap Interface

ContractedBlock.gif ExpandedBlockStart.gif View Code
 
   
< fieldset >
< legend > Translate this SDK </ legend >
< div id = " MicrosoftTranslatorWidget " style = " width: 100%; min-height: 57px; border-color: #170D07;
background - color: #362F2A; " >
< noscript >
< a href = " http://www.microsofttranslator.com/bv.aspx?a=http%3a%2f%2flocalhost%2f " > Translate
this page </ a >
< br />
Powered by
< a href = " http://www.microsofttranslator.com " > Microsoft® Translator </ a >
</ noscript >
</ div >

< script type = " text/javascript " >
/* <![CDATA[ */ setTimeout(function() {
var s
= document.createElement( " script " );
s.type
= " text/javascript " ;
s.charset
= " UTF-8 " ;
s.src
= " http://www.microsofttranslator.com/Ajax/V2/Widget.aspx "
+ " ?mode=auto "
+ " &from=en "
+ " &layout=ts "
+ " &appId=<%= InteractiveSDK.Properties.Settings.Default.WidgetAppId %> " ;
var p
= document.getElementsByTagName( ' head ' )[ 0 ] || document.documentElement; p.insertBefore(s, p.firstChild);
},
0 );
/* ]]> */
</ script >

</ fieldset >
< fieldset >
< legend > Results </ legend >
< table >
< tr >
< td >
Easily use the Microsoft Translator Web Widget
for basic website translation scenarios.
Simply copy and paste a HTML snippet to your web page and customize the resulting
translator box with different colors, sizes, and translation behaviors. Visitors
to your site can now view the the page with the embeded widget
in any language supported
by the The Microsoft Translator service. Furthur when hovering over any parts of
a translated page, visitors can view the source text from which the translation
was derived.
</ td >
< td >
The Web Widget also takes full advantage of Microsoft Translator
' s Collaborative
Translation functionality, which is used to submit, match and retrieve human translations.
This means visitors can suggest alternate translations to any translated text
if
they believe they are incorrect and flag inappropriate translations. The webmaster
can also sign
in and approve the most appropriate translation for their site. With
these
new translations being displayed instead of the automatic machine translation.
</ td >
</ tr >
</ table >
</ fieldset >

转载于:https://www.cnblogs.com/mecity/archive/2011/07/04/2097456.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值