×

LANGUAGE TRANSLATION USING EMBEDDABLE COMPONENT

  • US 20160275057A1
  • Filed: 05/27/2016
  • Published: 09/22/2016
  • Est. Priority Date: 05/26/2009
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×