摘要:
用于用显示替换对标记语言文档的翻译的方法,系统和装置,包括计算机程序产品. Replace with a display of the markup language document translation method, system and apparatus, including computer program products are used. 在一些实施方式中,一种方法包括:通过呈现标记语言文档的内部表示来显示原始语言的标记语言文档;将包含作为不同数据实体的来自内部表示的文本节点的文本的数据结构发送给翻译服务;用从翻译服务接收到的经翻译的文本替换文本,导致经翻译的表示;以及通过呈现经翻译的表示来显示文档的第一翻译. In some embodiments, a method comprising: rendering the markup language document to show the internal representation of the original language of the markup language document; as the data structure will contain different data entities from text nodes internal representation of text sent to the translation service ; replace received from the translation service of the translated text in the text, leading to the translated representation; and by presenting the translated representation to display the first translation of the document. 在一些实施方式中,执行部分,递增的翻译. In some embodiments, the operative part, incremental translation. 在一些实施方式中,一种方法包括:接收选择了标记语言文档中的短语的通知;请求所选择的短语的文本的翻译;然后在用户界面中显示所接收到的翻译. In some embodiments, a method includes: receiving a selection of a notification phrase markup language document; translation request to the selected text phrase; then displays the received translation in the user interface.
展开