WEB TRANSLATION WITH DISPLAY REPLACEMENT
First Claim
1. A method, comprising:
- displaying a markup language document in an original language by rendering an internal representation of the document, the representation including nodes, the nodes including one or more text nodes and one or more non-text nodes, the text nodes each including respective original text; and
while displaying the document from the internal representation, sending a data structure containing the texts from the text nodes, as distinct data entities, to a translation service and replacing the texts in the text nodes with corresponding translated texts received from the translation service to generate a first translated internal representation of the markup language document, where the original texts in the text nodes are in the original language and the translated texts are in a different second language;
whereby a first translation of the markup language document is displayed by rendering the first translated internal representation.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer program products, for translation of markup language documents with display replacement. In some implementations, a method includes displaying a markup language document in an original language by rendering an internal representation of the document, sending a data structure containing the texts from the text nodes of the internal representation, as distinct data entities, to a translation service, replacing the texts with translated texts received from the translation service resulting in a translated representation, and displaying a first translation of the document by rendering the translated representation. In some implementations, partial, incremental translation is performed. In some implementations, a method includes receiving a notification that a phrase in a markup language document has been selected, requesting translation of the text of the selected phrase, and then displaying a received translation in a user interface.
60 Citations
36 Claims
-
1. A method, comprising:
-
displaying a markup language document in an original language by rendering an internal representation of the document, the representation including nodes, the nodes including one or more text nodes and one or more non-text nodes, the text nodes each including respective original text; and while displaying the document from the internal representation, sending a data structure containing the texts from the text nodes, as distinct data entities, to a translation service and replacing the texts in the text nodes with corresponding translated texts received from the translation service to generate a first translated internal representation of the markup language document, where the original texts in the text nodes are in the original language and the translated texts are in a different second language; whereby a first translation of the markup language document is displayed by rendering the first translated internal representation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method comprising:
-
providing a translation service that receives text and generates a translation of the text; providing a translation module configured to run in a markup language display program, the markup language display program displaying a markup language document in an original language by rendering an internal representation of the document, the representation including nodes, the nodes including one or more text nodes and one or more non-text nodes, the text nodes each including respective original text, the translation module configured to perform the following operations; while the markup language display program displays the document from the internal representation, sending a data structure containing the texts from the text nodes, as distinct data entities, to a translation service; and replacing the texts in the text nodes with corresponding translated texts received from the translation service to generate a first translated internal representation of the markup language document, where the original texts in the text nodes are in the original language and the translated texts are in a different second language, and providing the first translated internal representation to the markup language display program for rendering. - View Dependent Claims (11, 12)
-
-
13. A method comprising:
-
receiving a notification that a phrase comprising multiple words in a markup language document displayed in a user interface on a client device has been selected; requesting a translation of text corresponding to the selected phrase from a translation service on a server; and receiving a translation from the translation service and then displaying the translation in the user interface. - View Dependent Claims (14)
-
-
15. A system, comprising:
- one or more computers operable to perform operations comprising;
displaying a markup language document in an original language by rendering an internal representation of the document, the representation including nodes, the nodes including one or more text nodes and one or more non-text nodes, the text nodes each including respective original text; and while displaying the document from the internal representation, sending a data structure containing the texts from the text nodes, as distinct data entities, to a translation service and replacing the texts in the text nodes with corresponding translated texts received from the translation service to generate a first translated internal representation of the markup language document, where the original texts in the text nodes are in the original language and the translated texts are in a different second language; whereby a first translation of the markup language document is displayed by rendering the first translated internal representation. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
- one or more computers operable to perform operations comprising;
-
26. A system comprising:
- one or more computers operable to perform operations comprising;
providing a translation service that receives text and generates a translation of the text; providing a translation module configured to run in a markup language display program, the markup language display program displaying a markup language document in an original language by rendering an internal representation of the document, the representation including nodes, the nodes including one or more text nodes and one or more non-text nodes, the text nodes each including respective original text, the translation module configured to perform the following operations; while the markup language display program displays the document from the internal representation, sending a data structure containing the texts from the text nodes, as distinct data entities, to a translation service; replacing the texts in the text nodes with corresponding translated texts received from the translation service to generate a first translated internal representation of the markup language document, where the original texts in the text nodes are in the original language and the translated texts are in a different second language; and providing the first translated internal representation to the markup language display program for rendering. - View Dependent Claims (27, 28, 29, 30, 31)
- one or more computers operable to perform operations comprising;
-
32. A system comprising:
- one or more computers operable to perform operations comprising;
receiving a notification that a phrase in a markup language document displayed in a user interface on a client device has been selected; requesting a translation of text corresponding to the selected phrase from a translation service on a server; and receiving a translation from the translation service and then displaying the translation in the user interface. - View Dependent Claims (33, 34, 35, 36)
- one or more computers operable to perform operations comprising;
Specification