Browse Prior Art Database

Method for the language translation of existing websites by injection of a dynamic translation client. Disclosure Number: IPCOM000198273D
Publication Date: 2010-Aug-02
Document File: 3 page(s) / 123K

Publishing Venue

The Prior Art Database


International language support becomes more important to websites now. However, it takes great effort to upgrade one language site to multiple, especially harder for Web2.0 sites, because there are too many javascript objects. Besides, the web server may be limited in function making modification. We provide a method to implement dynamic page translation (including javascript objects) with minimum page modification, no modification of server side environment for business. There is another benefit for site developers who can develop, change site codes freely without any interference from our solution.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 54% of the total text.

Page 1 of 3

Method for the language translation of existing websites by injection of a dynamic translation client.

Legacy or current websites are often developed in one language. Occasionally, the web server can be limited in function making modification to support multiple languages difficult and expensive. For example, the CICS Web Gateway provides basic customisation for re-branding, but it is not possible to execute Java Server Pages or other Server-Side executable code to customise the content.

    On-the-fly machine translation is usually performed before the web page is rendered on the client's web browser by intercepting the web page, translating it, and forwarding the translated page on to the client's web browser. However, this method fails to provide a translation to any content that is generated within the web browser, such as content generated by JavaScript or AJAX web applications.

    Some browsers provide for client-side translation (e.g. Google Chrome), however this does not benefit customers using other browsers. The invention works for all browsers.

    The invention provides a method for the translation of web pages by intercepting and injecting a JavaScript translation client into the web page which is then executed within the web browser itself. The translation client looks for content in the rendered web page, including any locally generated content, and sends that to a translation engine (such as Websphere Translation Server) for translation. This allows the translation step to occur after the page is rendered and thus ensures all content is translated.

    Our main idea is to do translation on the browser side, so to work around the server side's changes or limitations, at the same time, we can enable the translation for javascript objects. First, hide the whole document. Second, when the document is loaded completely, get the whole document and send it to the web server with our translation servlet. Third, the translation servlet will get the document and invoke the translation APIs provided by WTS to translate the document. After that, it will send the translated result to browser. Fourth, use the translated result to replace current document by DOM. Finally, show the translated result to end-users.

Solution functionalities:
1. Minimum...