在翻译中保存标签 [英] Saving tags in the translation

查看:186
本文介绍了在翻译中保存标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。解析文档时,我们保留标记。是否有可能以某种方式将它们转移到Bing Translater以便在转移之后将它们取回?

Hello. When parsing a document, we reserve the tags. Is it possible to somehow transfer them to Bing Translater so that after the transfer to get them back?

推荐答案

Hi Blastoma,

Hi Blastoma,

标签不变地传递Translator服务。

tags pass through the Translator service unchanged.

当使用contentType = text / HTML时,Translator应用您希望从HTML标记中获得的逻辑来决定要翻译哪些元素,哪些元素不能翻译。保留元素的嵌套。

When using contentType=text/HTML, Translator applies the logic you expect from HTML markup in deciding which elements to translate and which not. The nesting of elements is preserved.

使用contentType = text / plain时,标记保持未翻译状态并保持不变。标签之间的所有内容都被翻译。标签的顺序可以随着句子重新排列而改变,而不考虑嵌套。可能导致非法XML。

When using contentType=text/plain, the tags remain untranslated and pass through unchanged. Everything between tags is translated. The order of tags may change as the sentence is rearranged, without consideration of nesting. May result in illegal XML.

让我们知道它是怎么回事,

Chris Wendt

Microsoft Translator

Let us know how it goes,
Chris Wendt
Microsoft Translator


这篇关于在翻译中保存标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆