LANGUAGE TRANSLATION USING EMBEDDABLE COMPONENT
First Claim
1. A method performed by a plurality of server computers, the method comprising:
- receiving, via a network, from a client computer, at a web server configured to serve hypertext markup language (HTML) pages to arbitrary client computers, a hypertext transfer protocol (HTTP) request for a HTML page, and responding to the HTTP request for the HTML page by transmitting, via the network, an HTTP reply message comprised of the HTML page, wherein the transmitted HTML page comprises markup elements including a first element comprising text in a first human language and a script element comprising a uniform resource indicator (URI) identifying a network address and a location thereat of a script, and wherein the script is not included in the HTML page when the HTML page is transmitted to the client computer;
receiving, via the network, from the client computer, a request for the script, the request for the script having been sent by the client computer based on a browser at the client computer processing the HTML page received via the HTTP reply messages, the HTTP request for the script having been sent based on the client computer finding the script element in the obtained HTML page and by using the URI therein to send the HTTP request for the script to the network address, wherein the script is configured to, when executed by the client computer in a context corresponding to the HTML page that is comprised of a document object model (DOM) of the HTML page;
provide a displayable interactive user interface element configured to enable interactive selection of a target language in a rendering of the DOM displayed by the client computer;
respond to an activation of the user interface element to select the target language by;
extracting from the DOM the text in the first human language, andsending, via the network, to a translation service, a translation request comprising an indication of the selected target human language and the extracted text,receive, via the network, from the translation service, translated text comprising a translation of the sent extracted text in the target language, and respond to receipt of the translated text by replacing, in the DOM, the text in the first human language with the received translated text; and
receiving, via the network, by the translation service, the translation request, the translation service configured to receive arbitrary translation requests from arbitrary client computers and perform and return respective translations, the translation service responding to receiving the translation request by, (i) based on the translation request'"'"'s indication of the selected target language and the extracted text, translating the extracted text to generate the translated text in the target language, and by (ii) sending the translated text to the client computer.
2 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the subject matter described herein relate to language translation. In aspects, a reference to a language translation component is embedded or otherwise inserted into a Web page. When the Web page is rendered, code corresponding to the language translation component may be downloaded and executed. Once executed, the translation component may access other content in the Web page and allow a user to request translation of the Web page. Upon receiving an indication that translation is desired, the translation component may send content in the Web page to a translation service and receive translated content. The translation component may then provide this translated content to a user viewing the Web page.
23 Citations
20 Claims
-
1. A method performed by a plurality of server computers, the method comprising:
-
receiving, via a network, from a client computer, at a web server configured to serve hypertext markup language (HTML) pages to arbitrary client computers, a hypertext transfer protocol (HTTP) request for a HTML page, and responding to the HTTP request for the HTML page by transmitting, via the network, an HTTP reply message comprised of the HTML page, wherein the transmitted HTML page comprises markup elements including a first element comprising text in a first human language and a script element comprising a uniform resource indicator (URI) identifying a network address and a location thereat of a script, and wherein the script is not included in the HTML page when the HTML page is transmitted to the client computer; receiving, via the network, from the client computer, a request for the script, the request for the script having been sent by the client computer based on a browser at the client computer processing the HTML page received via the HTTP reply messages, the HTTP request for the script having been sent based on the client computer finding the script element in the obtained HTML page and by using the URI therein to send the HTTP request for the script to the network address, wherein the script is configured to, when executed by the client computer in a context corresponding to the HTML page that is comprised of a document object model (DOM) of the HTML page; provide a displayable interactive user interface element configured to enable interactive selection of a target language in a rendering of the DOM displayed by the client computer; respond to an activation of the user interface element to select the target language by; extracting from the DOM the text in the first human language, and sending, via the network, to a translation service, a translation request comprising an indication of the selected target human language and the extracted text, receive, via the network, from the translation service, translated text comprising a translation of the sent extracted text in the target language, and respond to receipt of the translated text by replacing, in the DOM, the text in the first human language with the received translated text; and receiving, via the network, by the translation service, the translation request, the translation service configured to receive arbitrary translation requests from arbitrary client computers and perform and return respective translations, the translation service responding to receiving the translation request by, (i) based on the translation request'"'"'s indication of the selected target language and the extracted text, translating the extracted text to generate the translated text in the target language, and by (ii) sending the translated text to the client computer. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method performed by a plurality of server computers, the method comprising:
-
receiving, via a network, from a client computer, at a web server configured to serve hypertext markup language (HTML) pages to arbitrary client computers, a request for an HTML page, and responding to the request for the HTML page by transmitting, via the network, a reply message comprised of the HTML page, wherein the transmitted HTML page comprises markup elements including a first element comprising text in a first human language and a script element comprising a uniform resource indicator (URI) identifying a network address and a location thereat of a script, and wherein the script is not included in the HTML page when the HTML page is transmitted to the client computer; receiving, via the network, from the client computer, a request for the script, the request for the script having been sent by the client computer based on an HTML renderer at the client computer processing the HTML page received from the web server, the request for the script having been sent based on the HTML identifying the script element in the obtained HTML page and having been sent to the network address based on the URI in the HTML page, wherein the script is configured to, when executed by the client computer in a context corresponding to the HTML page that is comprised of a document object model (DOM) of the HTML page; provide a displayable interactive user interface element configured to enable interactive selection of a target language in a rendering of the DOM displayed by the client computer; respond to an activation of the user interface element to select the target language by; extracting from the DOM the text in the first human language, and sending, via the network, to a translation service, a translation request comprising an indication of the selected target human language and the extracted text, receive, via the network, from the translation service, translated text comprising a translation of the sent extracted text in the target language, and respond to receipt of the translated text by inserting the received translated text into the DOM; and receiving, via the network, by the translation service, the translation request, the translation service configured to receive arbitrary translation requests from arbitrary client computers and perform and return respective translations, the translation service responding to receiving the translation request by, (i) based on the translation request'"'"'s indication of the selected target language and the extracted text, translating the extracted text to generate the translated text in the target language, and by (ii) sending the translated text to the client computer. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A method performed by a plurality of server computers, the method comprising:
-
receiving, via a network, from a client computer, at a server configured to serve hypertext markup language (HTML) pages to client computers responsive to HTTP requests therefor, an HTTP request for an HTML page, and responding to the request for the HTML page by transmitting, via the network, a reply message comprised of the HTML page, wherein the transmitted HTML page comprises an authorization identifier and markup elements including a first element comprising text in a first human language and a script element comprising a uniform resource indicator (URI) identifying a network address and a location thereat of a script, and wherein the script is not included in the HTML page when the HTML page is transmitted to the client computer; receiving, via the network, from the client computer, a request for the script, the request for the script having been sent by the client computer based on a renderer at the client computer processing the HTML page received from the web server, the request for the script having been sent based on the renderer recognizing the script element in the obtained HTML page, the request for the script sent to the network address based on the URI, wherein the script is configured to, when executed by the client computer in a context corresponding to the HTML page that is comprised of a document object model (DOM) of the HTML page constructed and maintained by the renderer; send the authorization identifier to a translation service; provide a displayable interactive user interface element configured to enable interactive selection of a target language in a rendering of the DOM displayed by the client computer; respond to an activation of the user interface element to select the target language by; extracting from the DOM the text in the first human language, and sending, via the network, to a translation service, a translation request comprising an indication of the selected target human language and the extracted text, receive, via the network, from the translation service, translated text comprising a translation of the sent extracted text in the target language, and respond to receipt of the translated text by inserting the received translated text into the DOM; and receiving, via the network, by the translation service, the translation request, the translation service configured to receive translation requests from the client computers and perform and return respective translations, the translation service responding to receiving the translation request by, (i) based on the translation request'"'"'s indication of the selected target language and the extracted text, translating the extracted text into the translated text in the target language, and by (ii) sending the translated text to the client computer, wherein the translation service determines to service the translation request based on receipt of the authorization identifier received from the script. - View Dependent Claims (17, 18, 19, 20)
-
Specification