US2014026032A1PendingUtilityA1

Conditional translation header for translation of web documents

Assignee: GOOGLE INCPriority: May 5, 2009Filed: Jun 28, 2013Published: Jan 23, 2014
Est. expiryMay 5, 2029(~2.8 yrs left)· nominal 20-yr term from priority
G06F 40/58G06F 40/166G06Q 10/00G06F 17/24
51
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

Methods, systems, and apparatus, including computer program products, for translation of web documents. The original language of document text in the web document is identified. A translation header is displayed with the web document text only if the original language is different from a user's preferred language. The translation header provides the user with an option of translating the document text or portions of the document text to the user's preferred language.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A computer-implemented method, comprising:
 receiving, at a client device, a document comprising document text in a first language to be displayed on the client device;   displaying, at the client device, the document text of the document;   identifying, at the client device, a second language to which the document text may be translated;   determining that the second language is different from the first language and displaying, only in response to the determination, a translation header with the document text, the translation header including text in the second language describing a selectable option in the translation header to translate document text from the first language to the second language; and   in response to a selection of the selectable option:
 identifying, at the client device, a portion of the document text to be translated; 
 sending a request from the client device to a translation server to translate the portion of the document text from the first language to the second language; 
 in response to the request, receiving at the client device translation data including a corresponding translated portion of the document text in the second language; and 
 displaying, at the client device, the translated portion of the document text of the document. 
   
     
     
         2 . The method of  claim 1 , wherein:
 the document text comprises body text of respective email messages, and the body text are displayed as representations of the email messages;   identifying a portion of the document text to be translated comprises identifying body text of a first email message of the email messages to be translated;   determining that the second language is different from the first language comprises determining for the body text of the first email message that the second language is different from the first language;   sending a request from the client device to a translation server to translate the portion of the document text comprises sending a request to translate the body text of only the first email message;   receiving translation data including a corresponding translated portion of the document text in the second language comprises receiving translation data including translated body text of the first email message in the second language; and   displaying the translated portion of the document text of the document comprises displaying the translated body text of the first email message and the body text of the other email messages.   
     
     
         3 . The method of  claim 2 , wherein:
 the document is represented by a data structure, the data structure including text nodes, each text node including respective body text of a respective email message;   sending a request to translate the body text of only the first email message comprises sending the request without the body text of the first email message, wherein the request includes an identifier of the first email message; and   displaying the translated body text of the first email message comprises:
 replacing, in the respective text node, the body text of the first email message in the first language with the translated body text of the first email message in the second language; and 
 rendering the data structure having the translated body text included in the respective text node. 
   
     
     
         4 . The method of  claim 3 , wherein the data structure is a document object model representation. 
     
     
         5 . The method of  claim 1  wherein:
 the document is an HTML email document the document text comprises body text of respective email messages, and the body text are displayed as representations of the email messages; 
 identifying a portion of the document text to be translated comprises identifying body text of a first email message of the email messages to be translated; 
 determining that the second language is different from the first language comprises determining for the body text of the first email message that the second language is different from the first language; 
 sending a request from the client device to a translation server to translate the portion of the document text comprises sending a request for HTML data representing only the translated first email message; 
 receiving translation data including a corresponding translated portion of the document text in the second language comprises receiving the HTML data representing the translated first email message; and 
 displaying the translated portion of the document text of the document comprises:
 replacing a portion of HTML data of the HTML email document corresponding to the untranslated first email message with the HTML data representing the translated first email message. 
 
 
     
     
         6 . The method of  claim 1 , wherein:
 the document is represented by a data structure, the data structure including text nodes, each text node including respective text of the document text;   sending a request from the client device to a translation server to translate the portion of the document text comprises sending data including the text in the text nodes, as distinct objects, to the translation server; and   displaying the translated portion of the document text in the document comprises:
 replacing the text in the first language in the text nodes with corresponding translated text in the second language; and 
 rendering the data structure having the translated text in the text nodes. 
   
     
     
         7 . The method of  claim 6 , wherein the data structure is a document object model representation. 
     
     
         8 . The method of  claim 1 , wherein the document comprises an embedded translation script that upon execution by the client device performs the operations of:
 identifying a second language to which the document text may be translated;   determining that the second language is different from the first language and displaying only in response to the determination a translation header with the document text; and   identifying a portion of the document text to be translated.   
     
     
         9 . The method of  claim 1 , wherein the translation header has a first display configuration and a second display configuration, wherein:
 the first display configuration includes text prompting an input for translation of the portion of the document text and text defining at least one of the first language or the second language, the first display configuration being a display configuration for the translation header prior to a selection of the selectable option; and   the second display configuration includes text defining that the portion of the document has been translated and text defining at least one of the first language or the second language, the second display configuration being a display configuration for the translation header subsequent to a selection of the selectable option.   
     
     
         10 . The method of  claim 1 , wherein the translation header includes text describing a second selectable option in the translation header to identify another first language selected by a user, the method further comprising:
 in response to a selection of the second selectable option, including the another first language in the request to the translation server to translate the portion of the document text from the another first language to the second language.   
     
     
         11 . The method of  claim 10 , wherein the translation header includes text describing a third selectable option in the translation header to identify another second language selected by the user, the method further comprising:
 in response to a selection of the third selectable option, including the another second language in the request to the translation server to translate the portion of the document text from the another first language to the another second language.   
     
     
         12 . The method of  claim 1 , wherein identifying a second language comprises:
 identifying a plurality of second languages from different respective second language source indicators;   ordering the plurality of second languages relative to each other based on the respective second language source indicators; and   identifying a highest-ordered second language as the identified second language.   
     
     
         13 . The method of  claim 1 , wherein the document comprises a link to another document and upon selection of the link, the method further comprising:
 including data defining the second language in a request for the another document.   
     
     
         14 . A system, comprising: one or more computers operable to perform operations comprising:
 receiving, at a client device, a document comprising document text in a first language to be displayed on the client device;   displaying, at the client device, the document text of the document;   identifying, at the client device, a second language to which the document text may be translated;   determining that the second language is different from the first language and displaying, only in response to the determination, a translation header with the document text, the translation header including text in the second language describing a selectable option in the translation header to translate document text from the first language to the second language; and   in response to a selection of the selectable option:
 identifying, at the client device, a portion of the document text to be translated; 
 sending a request from the client device to a translation server to translate the portion of the document text from the first language to the second language; 
 in response to the request, receiving at the client device translation data including a corresponding translated portion of the document text in the second language; and 
 displaying, at the client device, the translated portion of the document text. 
   
     
     
         15 . The system of  claim 14 , wherein:
 the document text comprises body text of respective email messages, and the body text are displayed as representations of the email messages;   identifying a portion of the document text to be translated comprises identifying body text of a first email message of the email messages to be translated;   determining that the second language is different from the first language comprises determining for the body text of the first email message that the second language is different from the first language;   sending a request from the client device to a translation server to translate the portion of the document text comprises sending a request to translate the body text of only the first email message;   receiving translation data including a corresponding translated portion of the document text in the second language comprises receiving translation data including translated body text of the first email message in the second language; and   displaying the translated portion of the document text in the document comprises displaying the translated body text of the first email message and the body text of the other email messages.   
     
     
         16 . The system of  claim 15 , wherein:
 the document is represented by a data structure, the data structure including text nodes, each text node including respective body text of a respective email message;   sending a request to translate the body text of only the first email message comprises sending the request without the body text of the first email message, wherein the request includes an identifier of the first email message; and   displaying the translated body text of the first email message comprises:
 replacing, in the respective text node, the body text of the first email message in the first language with the translated body text of the first email message in the second language; and 
 rendering the data structure having the translated body text included in the respective text node. 
   
     
     
         17 . The system of  claim 16 , wherein the data structure is a document object model representation. 
     
     
         18 . The system of  claim 14 , wherein:
 the document is represented by a data structure, the data structure including text nodes, each text node including respective text of the document text;   sending a request from the client device to a translation server to translate the portion of the document text comprises sending data including the text in the text nodes, as distinct objects, to the translation server; and   displaying the translated portion of the document text in the document comprises:
 replacing the text in the first language in the text nodes with corresponding translated text in the second language; and 
 rendering the data structure having the translated text in the text nodes. 
   
     
     
         19 . The system of  claim 14 , wherein the document comprises an embedded translation script that upon execution by the client device performs the operations of:
 identifying a second language to which the document text may be translated;   determining that the second language is different from the first language and displaying only in response to the determination a translation header with the document text; and   identifying a portion of the document text to be translated.   
     
     
         20 . The system of  claim 14 , wherein:
 the translation header has a first display configuration and a second display configuration, the first display configuration includes text prompting an input for translation of the portion of the document text and text defining at least one of the first language or the second language, the first display configuration being a display configuration for the translation header prior to a selection of the selectable option; and   
       the second display configuration includes text defining that the portion of the document has been translated and text defining at least one of the first language or the second language, the second display configuration being a display configuration for the translation header subsequent to a selection of the selectable option.

Join the waitlist — get patent alerts

Track US2014026032A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.