Conditional translation header for translation of web documents
AssigneeGoogle Inc.
InventorsJeffrey Chin, Darren Lewis, Joshua Estelle
Life of this patent
Estimating the term…
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.
Claims21
A computer-implemented method, comprising:
- receiving, at a client device, a document for a web page, the document comprising document text in a first language to be displayed on the client device;
- displaying, at the client device, the web page in web browser software executing at the client device, wherein the web page includes the document text of the document;
- identifying, at the client device, a second language to which the document text may be translated;
- determining, at the client device, whether the second language is different from the first language;
- displaying, at the client device, a translation header as part the web page above a portion of the document text to be translated when the second language is determined to be different from the first language, the translation header including (i) a selectable option to translate the portion of the document text from the first language to the second language and (ii) text in the second language describing the selectable option;
- and
- in response to a selection of the selectable option:
- identifying, at the client device, the 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 as part of the web page.
A system, comprising:
- one or more computers operable to perform operations comprising:
- receiving, at a client device, a document for a web page, the document comprising document text in a first language to be displayed on the client device;
- displaying, at the client device, the web page in web browser software executing at the client device, wherein the web page includes the document text of the document;
- identifying, at the client device, a second language to which the document text may be translated;
- determining, at the client device, whether the second language is different from the first language;
- displaying, at the client device, a translation header as part the web page above a portion of the document text to be translated when the second language is determined to be different from the first language, the translation header including (i) a selectable option to translate the portion of the document text from the first language to the second language and (ii) text in the second language describing the selectable option;
- and
- in response to a selection of the selectable option:
- identifying, at the client device, the 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 as part of the web page.
A computer program product encoded on a non-transitory computer readable storage medium comprising instructions that when executed by a data processing apparatus cause the data processing apparatus to perform operations comprising:
- retrieving a document for a web page, the document comprising document text in a first language to be displayed on a client device;
- displaying the web page in web browser software executing at the client device, wherein the web page includes the document text of the document;
- identifying a second language to which the document text may be translated;
- determining whether the second language is different from the first language;
- displaying a translation header as part the web page above a portion of the document text to be translated when the second language is determined to be different from the first language, the translation header including (i) a selectable option to translate the portion of the document text from the first language to the second language and (ii) text in the second language describing the selectable option;
- and
- in response to a selection of the selectable option:
- identifying the portion of the document text to be translated;
- sending a request 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 translation data including a corresponding translated portion of the document text in the second language;
- and
- displaying the translated portion of the document text.
Dependencies are inferred from the claim text.