The present teaching generally relates to Internet applications, and more particularly relates to translation of web content.
The Internet and the world-wide web have allowed consumers to complete business transactions with organizations or individuals located across continents from the comfort of their own desk. In an increasingly global marketplace, it is becoming imperative for businesses/organizations to provide web site content in multiple languages in order to expand their customer base beyond their home countries. In addition, as the demographics of a country change to include foreign language speakers, it is increasingly important to communicate with existing customers and/or potential customers in their native language. For example, several large U.S. retailers have announced that serving the Hispanic segment is now a very high priority. Some U.S. retailers have even hired Hispanic advertisement agencies to start marketing to the Hispanic market in their native language—Spanish.
Traditionally, an organization that wants to translate its web site to another language can choose from several techniques, each having significant drawbacks. One technique involves purchasing machine translation technology. Machine translation is sometimes useful to get a rough idea as to the meaning of the content on a web site, but it is far from ideal. For most organizations, this type of translation, although convenient, is not practical because the quality of the translation from machines is simply not good enough to be posted on their web sites.
Another technique involves managing the translation process by deploying human translators and either maintaining multiple web sites for each language, or re-architecting the existing web site back-end technology to accommodate multiple languages. This requires significant resources in terms of time and cost, including a high level of complexity and duplication of effort. In addition, dynamic and e-commerce sites present other challenges as well, as the information to be translated resides in multiple places (e.g., a Structured Query Language database, static Hyper Text Markup Language pages and dynamic Hyper Text Markup Language page templates) and each translated site interfacing with the same e-commerce or back-end engine. Further, as a web site undergoes changes, it is important to handle ongoing maintenance properly. Although, this approach may yield superior translations that are suitable for professional web sites of large organizations, it is at a great cost. Most organizations simply do not have, or do not want to invest in, the resources necessary to handle this task internally.
For example,
As can be seen in the difference between
Therefore a need exists to overcome the problems with the prior art as discussed above.
Briefly, in accordance with the present teaching, disclosed is a system, method and computer readable medium in association with providing translated web content.
In one example, a method, implemented on a computer having at least one processor, storage, and a communication platform for providing translated web content. A request is first received from a user for content in a second language translated from content in a first language from a first Internet source. The content in the first language from the first Internet source is obtained. The content in the first language is divided into one or more translatable components, wherein a translatable component includes a segment of text. Whether the one or more translatable components have been previously translated, via at least one of machine translation, human translation, and a combination thereof, into the second language and stored as translated components in a storage is determined. If there are one or more translatable components previously translated and stored as translated components, the content is generated in the second language by modifying the content in the first language so that at least some translatable components are replaced with corresponding translated components, and the content is sent in the second language to the user as a response to the request.
In another example, a method, implemented on a computer having at least one processor, storage, and a communication platform for providing translated web content. A request is first received from a user for content in a second language translated from content in a first language accessible from a first Internet source. The content in the first language from the first Internet source is obtained. The content in the first language is divided into one or more translatable components, wherein a translatable component includes a segment of text. Whether any of the translatable components does not have a corresponding translated component stored in the storage and generated previously via at least one of machine translation, human translation, and a combination thereof is determined. Translation of the translatable components that do not have corresponding translated components via at least one of machine translation, human translation, and a combination thereof is scheduled to generate the corresponding translated components, wherein each segment of text is translated as a unit. The corresponding translated components are then stored in the storage.
In a different example, a method, implemented on a computer having at least one processor, storage, and a communication platform for managing language translation. Content in a first language is first accessed from an Internet source via a publicly available network path. A portion of the content in the first language that is not yet translated into a second language is identified. Translation of the portion of the content in the first language that is not yet translated into a second language using at least one of machine translation, human translation, and a combination thereof is then scheduled to produce corresponding content in the second language.
Additional advantages and novel features will be set forth in part in the description which follows, and in part will become apparent to those skilled in the art upon examination of the following and the accompanying drawings or may be learned by production or operation of the examples. The advantages of the present teachings may be realized and attained by practice or use of various aspects of the methodologies, instrumentalities and combinations set forth in the detailed examples discussed below.
The methods, systems, and medium, disclosed in accordance with present teaching, overcome problems with the prior art by providing an efficient and easy-to-implement system and method for dynamic language translation of a web site.
In this example, the web server 112 is operated by programming logic 110, and the web server 112 further has access to a database 102 of information, as well as HTML template files 104, graphics files 106 and multimedia files 108, all of which constitute the English components of the web site served by web server 112.
As can be seen in the difference between
In an embodiment of the present teaching, the computer systems of translation server 400, WebCATT tool 408, spider 404 and web server 402 are one or more Personal Computers (PCs) (e.g., IBM or compatible PC workstations running the Microsoft Windows 95/98/2000/ME/CE/NT/XP/VISTA/7 operating system, Unix, Linux, Macintosh computers running the Mac OS operating system, ANDROID, or equivalent), Personal Digital Assistants (PDAs), tablets, smart phones, game consoles or any other information processing devices. In another embodiment of the present teaching, the computer systems of translation server 400, WebCATT tool 408, spider 404 and web server 402 are server systems (e.g., SUN Ultra workstations running the SunOS operating system or IBM RS/6000 workstations and servers running the AIX operating system).
In one embodiment of the present teaching, Internet network 412 is a circuit switched network, such as the Public Service Telephone Network (PSTN). In another embodiment of the present teaching, the network 412 is a packet switched network. The packet switched network includes a wide area network (WAN), such as the global Internet, a private WAN, a local area network (LAN), or any combination of the above-mentioned networks. In another embodiment of the present teaching, network 412 is a wired network, a wireless network, a broadcast network or a point-to-point network. In another embodiment of the present teaching, network 412 is a communication path among different processes within the same physical hardware or memory space. In another embodiment of the present teaching, network 412 is a combination of any of the above-mentioned networks.
The translation server 400 is the application responsible for the conversion of web pages in one language to that in another language. The translation server 400 may parse each incoming HTML page into translatable components, substitute each incoming translatable component with an appropriate translated component, and return the translated web page back to the online user 416. Page conversion may be performed on the fly each time an online user 416 requests a page in the second or alternate language. In one embodiment, when a web page is received for conversion, the translation server 400 will translate the page if enough translated content is available to meet a customer specified translation threshold. If this is not the case, then the page will be returned in the first or original language.
A translatable component may include any one of a text segment, an image file with text to be translated, a multimedia file with text or audio to be translated, a file with text to be translated, a file with image with text to be translated, a file with audio to be translated, a file with video and with at least one of text and audio to be translated, or any other suitable file. A text segment may be a single word, a short phrase, a sentence, a paragraph or multiple paragraphs, or any other suitable segment.
In this example, the page conversion process follows seven major steps, some of which may be optional. In a first step, for each text segment encountered, if a translation is available, the text segment may be replaced with the translated text segment. If no translation is available, either the text remains in the original language or a machine translation may be performed on the fly, depending on the customer's preference. In a second step, for each linked file (images, PDF files, Flash movies, etc.) encountered if a translated file is available, the HTML link tag may be rewritten so that it points to the translated file. If a translated file is not available, the original link tag may be left untouched. In a third step, any relative Universal Resource Locator (URL) found in the page may be converted to an absolute URL. This step may be necessary if the resolution of the relative URLs in the user agent (e.g., a browser) requires adjustment.
In a fourth step, each JavaScript block may be parsed to identify translatable components, such as text or images, requiring translation. In a fifth step, each link to another web page may be rewritten so that the original URL is redirected to the translation server 400. For example, when an online user clicks on a rewritten link, the request then goes directly to the translation server 400, and the page is in turn translated. This step may be necessary if resolution of relative URLs in the user agent (e.g., a browser) requires adjustment. This feature, which keeps the user in the alternate language as they browse the site, is called “implicit navigation”.
In a sixth step, for each directive tag or attribute found, an appropriate instruction may be performed. In a seventh step, the translation server 400 may automatically schedule the web page for translation by placing it in the WebCATT 408 translation queue, in the event that an available translation cannot be found for one or more text segments or linked files in the page.
In step 504, the translation server 400 may receive a request from a user 416 on a web site 414, the web site 414 having a first web content in a first language, such as English. The request, such as but not limited to an HTTP request or a Simple Mail Transfer Protocol (SMTP) request, may call for a second web content in a second language, such as Spanish. The second web content may be a human translation, machine translation, or human edited machine translation in a second language of the first web content. The first language includes any one of English, French, Spanish, German, Portuguese, Italian, Japanese, Chinese, Korean, Arabic, and any other suitable language, and the second language is different than the first language and includes any one of English, French, Spanish, German, Portuguese, Italian, Japanese, Chinese, Korean, Arabic, and any other suitable language.
In step 506, the translation server 400 may retrieve the first web content from the web site 414. In step 508, the translation server 400 may divide the first web content into one or more translatable components.
In step 512, the translation server 400 may identify one or more translated components of the second web content corresponding to one or more translatable components of the first web content. In step 514, the translation server 400 may arrange or put the translated components of the second web content to preserve a format that corresponds to the first web content, including, for example, putting tags that are not visible in the first web content. In step 516, the translation server 400 may provide the second web content in response to the request that was received. In step 518, the control flow of
Step 601 begins with a source HTML page or first web content of step 506 of
In step 606, a matching translated text segment may be looked up in a cache. In step 607, it may be determined whether the matching translated text segment is found in the cache. If it is affirmative, then control flows to step 609. Otherwise, control flows to step 618. In step 609, it may be determined whether translation of the text segment is suppressed or not yet translated. If it is affirmative, then control flows to step 621. Otherwise, control flows to step 610.
In step 610, the matching translated text segment may be set as a target segment. In step 621, the current text segment may be set as the target segment. In step 640, the target segment may be added to the output web content, or second web content (i.e., the translated HTML page or the output HTML page). In step 623, the second web content may be output for provision to the user requesting the web page.
In step 612, it may be determined whether there is an incomplete translation of the current web page, i.e., the first web content. If it is affirmative, then control flows to step 613. Otherwise, control flows to step 611. In step 613, the current web page may be scheduled for translation. In step 611, the translation activity performed by the translation server 400 in servicing the current web page may be recorded in the translation database 406. In step 625, it may be determined whether the percentage of the current web page, i.e., the first web content, translated is above a threshold. If it is affirmative, then control flows to step 624. Otherwise, control flows to step 626. In step 624, the second web content or translated HTML page may be output for provision to the user requesting the web page. In step 626, the current web page or first web content may be output unchanged for provision to the user requesting the web page.
In step 614, it may be determined whether the translatable component parsed in step 602 is a translatable file, such as a PDF file, an image file, etc. If it is affirmative, then control flows to step 615. Otherwise, control flows to step 629. In step 629, it may be determined whether the translatable component parsed in step 602 is a link to another translatable page. If it is affirmative, then control flows to step 628. Otherwise, control flows to step 627. In step 627, a tag may be added to the translated HTML page to indicate a link (this is described in greater detail below). In step 628, the link may be modified to redirect the URL (this is described in greater detail below).
In step 615, a translated file corresponding to the translatable file may be looked up in a cache. In step 616, it may be determined whether the translated file was found. If it is affirmative, then control flows to step 617. Otherwise, control flows to step 633. In step 633, the translated file may be looked up in the translation database 406. In step 635, it may be determined whether the translated file was found. If it is affirmative, then control flows to step 634. Otherwise, control flows to step 632. In step 634, the translated file that was found may be stored in the cache. In step 632, an incomplete translation may be recorded in the translation database 406. In step 630, the original file may be set as the target file. In step 631, the target file may be added to the translated HTML page.
In step 617, it may be determined whether translation is suppressed for the translatable file. If it is affirmative, then control flows to step 630. Otherwise, control flows to step 636. In step 636, the translated file may be set as the target file. In step 618, a matching translated text segment may be looked up in the translation database 406. In step 622, it may be determined whether the matching translated text segment is found in the database. If it is affirmative, then control flows to step 619. Otherwise, control flows to step 637. In step 619, the translated segment that was found is stored in the cache. In step 637, an incomplete translation may be recorded in the translation database 406.
In step 638, it may be determined whether a machine translation of the text segment can be performed. If it is affirmative, then control flows to step 639. Otherwise, control flows to step 621. In step 639, the machine translation may be set as the target segment.
The translation server 400 can be presented in a variety of models. For example, in the Application Service Provider (ASP) model, the translation server 400 may convert full web pages or script files at a time and deliver them directly to the online user 416. Under this model, all links in a web page may be redirected through the translation server 400.
Clicking on a link in a translated page results in the user agent (e.g., a browser) request being sent to the translation server 400. The translation server 400 in turn may request the original language page from the original language web server 414, convert it to the alternate language, and send it back to the user 416.
In the web service model, the translated content may not be delivered directly to the online user 416. Instead, the customer's web site server 414 may issue the request for translation to the translation server 400, which acts as a web translation service. Under this model, the translation server 400 can convert full pages or just specific text segments and/or files. When directly translating text segments or files, multiple translation requests can be issued, one per segment or file, or multiple segments and files can be translated in a single batched request.
The hosting and management model may define who deploys and manages the hardware and operating system software in which the software components of the present teaching reside. There are two hosting and management models: hosted & managed, and managed only. Alternately, the software can be directly to the customer, and the customer is responsible for both the hosting and management.
The hosted and managed model may be a fully outsourced model in which one entity hosts the service and all translated data. Under this model, one entity may deploy the translation server 400 and WebCATT 408 software on its own hardware. All hardware and software may be provisioned and maintained by this entity, so the customer web site 414 has no responsibility for any hardware or software related to the service. In this model, the hosting entity may be responsible for: 1) provisioning, installing, configuring and maintaining all hardware, including communication to the Internet 412, 2) installing, configuring and maintaining all operating system, web server and database server software, 3) installing, configuring and managing on an ongoing basis the translation server 400 and WebCATT 408 software, and 4) maintaining staff and subcontractors that use the WebCATT 408 software to perform the translations that maintain the alternate language site in sync with the original language site.
In the managed only model, the translation server 400 and WebCATT 408 software may be installed on the customer web site's hardware. In this model the customer web site 414 maybe responsible for: 1) provisioning, installing, configuring and maintaining all hardware, including communication to the Internet 412, and 2) installing, configuring and maintaining all operating system, web server and database server software. The managing entity may be responsible for: 1) installing, configuring and managing on an ongoing basis the translation server 400 and WebCATT 408 software, and 2) maintaining staff and subcontractors that use the WebCATT 408 software to perform the translations that maintain the alternate language site in sync with the original language site.
Dedicated Vs. Shared Servers
The components of the present teaching can be deployed in dedicated or shared server environments. In a shared environment multiple customer web sites may share the same hardware. In a typical scenario, multiple translation servers 400 may be installed in the same web server 402, which connects to a database server containing the database 406 of translated data. A single WebCATT 408 software installation may also be shared by multiple customers. This setup is cost efficient and can be used for small and medium size sites with low-to-moderate web site traffic.
In a dedicated environment all hardware may be dedicated to one customer web site 414. This may be necessary for large organizations with heavy web site traffic and large amounts of text to be translated. In this case, either a single web server 402 or a cluster of web servers may be dedicated to the customer. The database server normally may also be dedicated to the customer. Dedicated servers may be used to assure guaranteed bandwidth for the customer and simplify keeping track of bandwidth usage for management and billing purposes.
The system of the present teaching may not save or maintain translated pages, except, e.g., in temporary caches for the purpose of improving response performance. Although, this may be useful for sites with static content, it becomes unmanageable for sites whose content is generated dynamically from database information in response to a user's request. Instead, the present teaching may be designed to store only those components within a web page that require translation, i.e., translatable components.
Parsing is the process of breaking-up an HTML page submitted for translation into its translatable and non-translatable components. Non-translatable components simply pass through the system unchanged (except for URLs that need rewriting). Translatable components are processed and replaced by their translated counterparts if available. There are generally two types of translatable components in a web page: text segments and files. A translatable component may include any one of a text segment, an image file with text to be translated, a multimedia file with text or audio to be translated, a file with text to be translated, a file with image with to be translated, a file with audio to be translated and a file with video and with at least one of text and audio to be translated.
A text segment is a chunk of text on a page. A text segment can range from a single word to a paragraph or multiple paragraphs. A file is any type of external content that resides on a file, is linked from within the page, and may require translation. Typical types of linked files found in web pages include, but are not limited to, images, PDF files, MS Word documents, and Flash movies.
Below is an example of a very simple HTML page:
The above example page may be parsed into the following six text segments: 1) ‘Widget Product Information’, 2) ‘Widget’, 3) ‘Model #123’, 4) ‘This widget is very useful for many chores around the house’, 5) ‘Product photo’, and 6) ‘Click here to return to the home page’. The above example page would further be parsed into the following one file: img/widgetpicture.gif.
By default the parsing system may break-up text segments taking into consideration the surrounding HTML tags in the page. In the above example, the sentence ‘Widget Model #123’ was broken-up into two segments because there was an HTML bold tag (<b>) in the middle of it. However, the parsing system may be flexible and allow defining, which HTML tags are formatting tags that do not break up text segments. So, if we define the bold tag as a formatting tag, then the example page would instead be parsed into the following five text segments: 1) ‘Widget Product Information’, 2) ‘Widget <b>Model #123</b>’, 3) ‘This widget is very useful for many chores around the house’, 4) ‘Product photo’, and 5) ‘Click here to return to the home page’.
The bold tags now became part of the second text segment, allowing the translator to place them in the correct location in the alternate language. For example, translating the text segment ‘Widget <b>Model #123</b>’ to Spanish will result in flipping the order of the ‘Widget’ and ‘Model’ words within the sentence. Since the bold tag is part of the text segment, it can be moved to still bold the word ‘Model’, as shown: <b>Modelo No. 123</b>de Artefacto
Below is an example of how the example page is converted to Spanish by the translation server 400:
In order to convert the page, the translation server 400 may perform several changes to the page. Each text segment may be replaced with a corresponding translation. It is noted that the text of the image description (‘Product photo’) placed in the ‘all’ attribute of the image tag may be recognized as a text segment and translated. The translation server 400 can recognize text segments inside attributes of HTML tags, such as the text in buttons of a form.
Further, the URL of the image tag may be replaced to point to a translated image file. The translation server 400 may only execute this action if a translated file has been defined (since many images do not have text and thus do not require translation), otherwise it may not change the URL of the image (except to make the URL absolute if necessary). In this example, it is assumed that the ‘ES.sub.—24.gif’ image file was defined in WebCATT 408 as the translation for the ‘widget_picture.gif’ file.
The URL of the home page link may be rewritten from ‘http://www.abcwidgets.com’ to ‘http://espanol.abcwidgets.com’ in order to redirect it to the translation server 400. When the online user clicks on the ‘Click here to return to the home page’ link, the request may go directly to the translation server 400, and the home page may also be translated. This process is called “implicit navigation”, and it is explained in more detail below.
Implicit navigation is a translation server 400 feature that keeps an online user 416 in the alternate language as he/she browses a web site. Implicit navigation can be made automatically because the domain name of a translated site may be different from the domain name of the original language site, or if necessary may be implemented by rewriting the URLs in the applicable links inside a page as the page is being translated, so they are redirected to the translation server 400. As a result, not only is the page translated, but also all applicable links to other translated pages within the page may be modified when needed if necessary, so that when the consumer clicks on the linked page, the translation is available.
To rewrite a link, the translation server 400 may change the domain name in the original URL with the domain name of the translation server 400. When a rewritten link is clicked, the request may go to the translation server 400, which computes the original URL to be translated based on the path and/or its internal mappings and request the page to be translated from this URL. The translation server 400 then may convert the page received to the alternate language and deliver the translated page to the consumer directly.
The scope of implicit navigation can be pre-defined by domain and/or URL patterns. In a typical scenario, only pages being served from a specific domain(s) may be translated. In the ABC Widgets example, if the implicit navigation domains are defined as abcwidgets.com and abcwidgets.net, then only URLs within those two domains will be rewritten. If a more granular translation is required, such as when translating only part of a web site, then URL patterns can be used. For example, if ABC Widgets wishes not to translate the careers and investor relations sections of their site, then the following two example Exclude URL patterns could be used: 1) abcwidgets.com/careers/ and 2) abcwidgets.com/investor/.
Any URLs for pages residing within the above two paths may not be rewritten and thus never translated. On the other hand, if ABC Widgets wishes only to translate its online product catalog, then the following example Include URL pattern could be used: abcwidgets.com/catalog/.
In that case, only pages residing within the abcwidgets.com/catalog/ path are rewritten and thus translated. Include and Exclude URL patterns may be combined to better define the scope of the translation. Implicit navigation can also be controlled from within the HTML to be translated through the use of directive tags or directive attributes. These are explained in detail in below.
The system according to the present teaching enables translation and optimization of URLs in order to improve the ranking of the translated pages on search engine indexes. In the case that the original URLs on the customer web site 414 contain words or phrases in the first language that may be relevant or optimized for search engines, such words and phrases can be translated by the Translation Server 400 into the second language to derive translated URLs on the translated web site. This allows the translated web site in the second language to maintain the search engine URL optimization of the customer web site 414.
In some embodiments, to achieve such URL translation, the original URL, representing the web content in the first language, is processed to identify translatable URL component(s) and for each such translatable URL component, a translated URL component can be obtained through translation into the second language, so that such a translated URL component can be used to replace the corresponding translatable URL component in the original URL. A translated URL may then be derived once the relevant translatable URL component(s) is replaced with corresponding translated URL component(s). In some embodiments, the translated URL components can be stored for future re-use. This URL translation process can be applied to both search engine optimized URLs or other URLs that have not been search engine optimized
However, quite often, dynamic and e-commerce websites use URLs that are not search engine optimized. It is common for e-commerce sites to use cryptic, generic or repetitive page names combined with parameters. Below is an example of such a URL which displays information about SONY'S product BRAVIA 46″ LCD HDTV: http://www.abcwidgets.com/site/olspage.jsp?skuId=9276286&productCategoryId=abcat0101001 &type=product&id=1218073534751&session=12345
Search engines, such as GOOGLE, place a great emphasis on keywords found on a URL versus keywords found within the content of a page. As a result, it would be beneficial for websites to place search keywords in the actual URL of the page and minimize the use of other, e.g., cryptic parameters. However, due to the restrictions of e-commerce engines and/or the great difficulty associated with changing the URL structure of a website, this is rarely done.
The system according to the present teaching provides a solution to this problem by generating search engine optimized URLs in the second language that map to the customer web site's 414 non-optimized original URLs. For example, on a Spanish site the above ABC Widgets SONY BRAVIA 46″ LCD HDTV original URL can be translated into: http://espanol.abcwidgets.com/televisiones-sony-bravia-xbr-clase-46-1080p-240hz-lcd-hdtv-kdl-46xbr9/?session=12345
The above translated URL is optimized to contain keywords that include the category, manufacturer, brand model number, and short description of the product in Spanish, which makes the URL optimized for search engines. The Translation Server 400 may optimize an original URL by identifying (disclosed below) search engine relevant content already present on the page in the first language and placing the corresponding content in the second language on the URL of that translated page. For example, below is the HTML content that the ABC Widgets SONY BRAVIA 46″ LCD HDTV original URL returns in the first language:
In the above page, there are several elements that are search engine relevant and which can be placed in the URL for optimization. These elements include the document title, the text within the H1 tags, the meta-description, the meta-keywords and other text within the body. The Translation Server 400 can automatically pick the most relevant element in the page based on which element better describes the content of the page, or such element can be manually predefined. Alternatively, the most relevant element may be determined in a semi-automated manner. For example, the Translation Server 400 may automatically detect candidates of relevant elements, and a human operator may then interact with the Translation Server 400 to select one or more candidates of relevant elements as the most relevant element to be used to generate optimized URL. The human operator may also manipulate or even edit some candidate relevant elements to make them, e.g., capitalized, boldfaced, highlighted, etc. In addition, any arbitrary content in the page can be flagged as the most relevant for URL optimization via the use of Directive Tags.
For instance, in this example, the title of the document is identified as the most search engine relevant element in the page, which is shown again below: <Title>Televisions-Sony-BRAVIA XBR 46″ Class/1080p/240 Hz/LCD HDTV-KDL-46XBR9</title>
Once the most relevant element is identified, the Translation Server 400 may then look for a matching translation of the text of that element in the second language. Translation of this text typically occurs within the normal workflow of the translation of the page. For the given example, the Spanish translation of the above title is: <title>Televisiones-Sony-BRAVIA XBR Clase 46″/1080p/240 Hz/LCD HDTV-KDL-46XBR9</title>
The translation of the title is then converted into a URL friendly format to derive a translated search engine optimized path. In some embodiments, this is done by performing e.g., the following steps:
The Translation Server 400 may then use the translated search engine optimized path to generate a search engine optimized URL in the second language. In some embodiments, the process to achieve that may start by breaking up the original URL on the customer web site into its origin host, path, and query string elements, as shown below:
1. Origin Host: http://www.abcwidgets.com
2. Origin Path: /site/olspage.jsp
3. Origin-Query-String: skuId=9276286&productCategoryId=abcat0101001&type=product&id=121807353475-1&session=12345
The query string is then further split into a number of parameters, each of which may be a name=value pair, e.g.,:
skuId=9276286
productCategoryId=abcat0101001
type=product
id=1218073534751
session=12345
Each parameter may be examined to determine whether the value of the parameter contributes to an identification that uniquely identifies the content, in this case a product. In the given example, all the parameters, except the session parameter, are considered to contribute to an identification that can uniquely identify the product. A session parameter is specific to a user's session and may change over time. Parameters that contribute to an identification that uniquely identifies the content may be included in the search engine optimized URL and parameters that do not may be excluded. For the given example, the following parameters are either included or excluded:
skuId=9276286
productCategoryId=abcat0101001
type=product
id=1218073534751
session=12345
The origin path, together with the included parameters, can be mapped to the translated search engine optimized path, which can then be used in place of the origin path and included parameters. The origin host may be replaced by the host name of the translated site. Finally the excluded parameters may be added back to the translated URL after it has been optimized. For example, the resulting translated search engine optimized URL in the second language is shown below:
http://espanol.abcwidgets.com/televisiones-sony-bravia-xbr-clase-46-1080p-240hz-lcd-hdtv-kdl-46xbr9?session=12345
As mentioned before, the search engine optimized path can also be obtained from another part of the document instead of the title. This can include the H1 header, a meta-description, or any arbitrary content in the page identified by specific Directive Tags.
In this example, if the search engine optimized path is obtained from the H1 header, then the resulting translated SEO optimized URL would be:
http://espanol.abcwidgets.com/sony-bravia-xbr-clase-46-1080p-240hz-lcd-hdtv?session=12345
Below is an example where arbitrary content in the page is defined as the most search engine relevant for URL optimization via exemplary “mp_trans_seo_url_title” Directive Tags. In this example, the tags are used around the product description:
With the above tags, the resulting translated search engine optimized URL becomes: http://espanol.abcwidgets.com/con-4-entradas-hdmi-un-puerto-usb-y-conectividad-ethernet-la-television-sony-bravia-xbr-46-flat-panel-lcd-hdtv-le-brinda-un-perfecto-centro-de-atencion-para-su-sistema-de-teatro?session=12345
When the Translation Server 400 receives a request containing a search engine optimized URL, the Translation Server 400 may automatically convert the search engine optimized URL into the equivalent non-optimized original URL representing the customer web site based on the above described mappings in order to retrieve the actual content for translation. To convert the translated URL back to the original URL, in some embodiments, the Translation Server 400 looks up the translated optimized path in the database and finds the corresponding origin path and included parameters. It then replaces the translated optimized path with the origin path and adds the included parameters to the query string.
To aid this process, in some embodiments, an identifier that uniquely identifies the mapping in the database may be added to the translated search engine optimized URL. For example, if the origin path and the included parameters are mapped to the translated search engine optimized path in the database using an identifier, e.g., a numeric identifier, then this identifier can be added to the translated search engine optimized URL. Using such an identifier in the translated search engine optimized URL improves the performance in looking up the mapping, making the lookup operation resilient to changes in the translated text incorporated in the URL. Below is an example that shows a numeric identifier of 100 added to the end of the translated search engine optimized URL in the second language: http://espanol.abcwidgets.com/televisiones-sony-bravia-xbr-clase-46-1080p-240hz-lcd-hdtv-kdl-46xbr9/100/?session=12345
In the above example, even if the translation for “televisions” is changed from “televisiones” to “tvs” in the database, the use of an identifier (rather than the translated text) to lookup the mapping ensures that the correct origin path and parameters are correctly retrieved from the database. The identifier in the URL may also be encoded to reduce the required space needed for the URL.
The system of the present teaching may enable users to access the same original language e-commerce database in multiple languages. Since the translation server 400 may process web pages after they have left the customer web site 414, but before they reach the user 416, it may not affect a web server's e-commerce technology. As a result, the same web site 414 can be accessed in multiple languages, and all users may access the same e-commerce database simultaneously.
For example, an auction web site can allow users in different countries to bid on the same item. Each user can view the site and bid on the item in his/her native language. Since all bids from the different countries are actually hitting the same web site and the same e-commerce engine through the translation server, all bids occur in real time, and each user can see in real-time what all the other users in all other countries are bidding.
Occasionally, the meaning of a word or phrase may change depending on the context in which it's being used. It is also possible that the translation itself may vary depending on the context or placement of a text segment, even if the original meaning does not change. As a result, it may be necessary to specify multiple translations for the same word or phrase, one for each usage context. The system of the present teaching allows translators to do this by providing the ability to “lock” text segments together. When two or more text segments are locked together they may be used only when the exact translation sequence is followed.
For example, the translation to Spanish of the text segment “Virtual Brochures” can vary, depending on where it is used. Below is this segment used in an English HTML sentence: <b>Virtual Brochures</b>are great. The corresponding translation to Spanish is: <b>Los Folletos Virtuales</b>son excelentes. Another example of a segment used in an English HTML sentence: There are many great <b>Virtual Brochures</b>. The corresponding translation to Spanish is: Hay muchos excelentes <b>Folletos Virtuales</b>
For this example, it is assumed that the HTML bold (<b>) tag is not defined as a formatting tag and, therefore, forces each sentence above to be broken up into two text segments each. As a result, the phrase “Virtual Brochures” becomes a separate text segment that requires a different translation for each case. Using the text segment locking feature in WebCATT 408, the translator locks the “Los Folletos Virtuales” translated segment with the “son excelentes” translated segment in the first sentence, and the “Hay muchos excelentes” translated segment with the “Folletos Virtuales” translated segment in the second sentence.
At conversion time, when the translation server 400 encounters the “Virtual Brochures” segment in the first sentence, it looks up a corresponding translated segment and gets back two potential matches: “Los Folletos Virtuales” and “Folletos Virtuales”. It then proceeds to look up a translated segment for the next segment “are great” and gets back “son excelentes”. Since “son excelentes” is locked to “Los Folletos Virtuales”, the translation server 400 is able to determine that “Los Folletos Virtuales” is the correct translation to the previous segment “Virtual Brochures”.
The translation server 400 may transparently handle form submissions via GET or POST methods. This means that all form data may be forwarded to the original URL that processes the form and that the response page may be converted to the alternate language.
The translation server 400 is capable of translating text segments and files located inside JavaScript code, VBScript code, CSS code, XML, AJAX messages, AMF code and many other complex web based technologies and formats by parsing the code or message and recognizing translatable components.
Translation of content inside files, such as JavaScript, CSS and VBScript, is also supported. A script included file may be downloaded by the user agent (e.g., a browser) in a separate HTTP request and included in the web page as if it had appeared within the page. Script included files may be handled in the same manner as implicit navigation in standard links within the page. The user agent may request the script included file from the translation server 400, which will compute the URL of the original script included file and request it from its location. The translation server 400 then may read the file, perform the appropriate conversions, and deliver the modified file to the user agent for inclusion in the web page.
JavaScript included files may be specified using the source (src) attribute in the <SCRIPT>tag, as shown: <scriptlanguage=“javascript” src=“menthjs”></script>
Shown is an example of how the above script tag is rewritten so the content inside the JavaScript include file is translated: <script language=“javascript” src=“http://espanolabcwidgets.com/menu.js”></script>
Directive tags and directive attributes are special HTML tags and attributes that allow more granular control over the translation, implicit navigation and other translation server behavior within in a web page. Directive tags are special HTML comments tags that are ignored by the user agent (e.g., a browser), but provide specific instructions to the translation server 400. Directive attributes are specially named attributes placed within an HTML tag that are also ignored by the user agent (e.g., a browser), but provide specific instructions to the translation server 400 that apply only to the tag in which the attribute is placed.
Translation control tags and attributes can be used to specify sections on a web page that should not get translated. One application of translation control tags is to delimit personal information, such as a person's name, address, credit card numbers, etc. that may show up in a web page, but which may not need to be processed—it may simply pass through the translation server 400 without being translated or stored—for security and privacy issues.
Following is an exemplary list of directive tags. The directive tag “mp-trans_partial_start & mp_transpartial_end” signals the start and end of a partial translation section. This tag may be used at the top of a web page in conjunction with section translate tags to selectively translate sections of a page. The directive tag “mp_trans_enable_start & mp_trans_enable_end” signals the start and end of a section to be translated within a partial translation section. All text and files within this section may be translated. The directive tag “mp_trans_disable_start & mp_trans_disable_end” signals the start and end of a section not to be translated when in normal translation mode. The directive tag “mp_trans_machine_start & mp_trans_machine_end” signals that any text segments enclosed within the tags may be machine translated in the event that a human translation is not available.
Following is an exemplary list of directive attributes. The directive attribute “mpdistrans” disables translation of a file or of translatable text in a tag, such as alt, keywords or description meta-tag, or form buttons.
Below is an example of usage of translation control directive tags and attributes:
This text and the image widget1.gif below are translated.
This text and the image widget3.gif below are NOT translated because they are inside a translation disabled section.
Following is an exemplary list of directive attributes for implicit navigation control. The directive attribute “mpnav” enables implicit navigation for listed attributes in the tag. This attribute can be used for tags that do not normally contain URLs, but actually do contain URLs. The directive attribute “mpdisnav” disables implicit navigation for all attributes or only listed attributes of the tag. The directive attribute “mporgnav” forces original navigation for all attributes or only listed attributes of the tag. Original navigation may remove redirection to the translation server if found, otherwise it may leave the link intact. This directive attribute is discussed below with reference to one-link deployment.
Below is an example of usage of implicit navigation control directive attributes.
The translation server 400 may process the above page as follows:
It can be seen above that implicit navigation was not performed for the anchor (<A>) tag with the mpdisnav attribute. As a result, when the user clicks on the Ver artefactos inútiles{grave over ( )} link, the uselesswidgets.j sp web page is not redirected to the translation server 400 and therefore, it is not translated. Furthermore, the mpnav attribute placed in the two <OPTION> tags instructed the translation server 400 to perform implicit navigation on the URL specified in the value attribute of each tag.
One aspect of the present teaching is to eliminate or minimize the workload of a customer web site's IT department in order to deploy an alternate language web site. One-link deployment may allow a customer to deploy the alternate language web site by simply placing one language-switching link in the home page, navigation menu, or any other appropriate area of the original language site.
In some embodiments, the one-link deployment may be a combination of two features: (1) automatic flipping of the language-switching link, and (2) implicit navigation to maintain the user in the alternate language. Automatic flipping of the language-switching link is specified by using the exemplary mporgnav directive attribute in the language-switching link. The mporgnav directive attribute may instruct the translation server 400 to rewrite the URL to support automatic language switching.
Below is an example of a very simple home page:
In some embodiments, a mirror Spanish language web site may be deployed by placing one link in the home page that redirects the home page to ABC Widget's translation server 400. Below is an example of the above home page with the new language-switching link added:
When a user clicks the ‘Click here to see this site in Spanish’ language-switching link, the translation server 400 may return the home page translated, as shown below:
As shown above, in addition to translating the page, the translation server 400 may also rewrite the URL in the language-switching link and perform implicit navigation of all other URLs in the page. The translation server 400 may rewrite the URL in the language-switching link so that the translation server 400 redirection is removed. The exemplary mporgnav directive attribute may be used to instruct the translation server 400 to do this. In addition, the link text ‘Click here to see this site in Spanish’ may be translated as ‘Haga clic aqui para ver este sitio web en Ingles’ (which means ‘Click here to see this site in English’). This automatic and simultaneous change of both the URL and the text (or image) in the language-switching link by the translation server 400 is what allows the user to flip back-and-forth between English and Spanish.
Implicit navigation may be also performed in all the links on the page. In the above example home page, it was performed on the widgets.jsp page. As a result, when a user clicks on this rewritten link, the widgets.jsp page is in turn translated and implicit navigation performed on all of its links within the abcwidgets.com domain. This process may be repeated so that the user is always navigating the site in the alternate language.
The translation server 400 may allow delivering customized content according to the language and/or location in which a user is viewing the site. In some embodiments, when the translation server 400 requests a web page for translation, it sends two cookies to the original web server: one for language and another one for the country. The value of the language cookie is a 2 or 3-letter language code in compliance with the ISO 639 standard. The value of the country cookie is a 2-letter country code in compliance with the ISO 3166 standard.
Web site server software can determine if a page is being viewed in an alternate language and/or a different country by checking for these cookies. For example, by checking that the language cookie exists, and that its value is ‘ES’, a web server can determine that a page is being served in Spanish and customize the content being served, such as showcasing items that appeal more to Hispanics. In addition, if a company maintains operations in multiple countries, then it can use the country cookie to determine the country and show only products sold or shipped to that country.
When an online user 416 who is viewing a web site 414 in an alternate language performs an internal site search, it is natural for the user to enter the search keyword(s) in the alternate language. When the translation server 400 forwards the search keyword(s) to the original web site, the search engine may not be able to find any matching results, or might deliver incorrect results. This occurs because the web server search engine is matching the keyword(s) in the alternate language against a search index of keywords that are in the original language.
The translation server 400 provides a solution to this problem by performing a real-time reverse machine translation on the search keyword(s) and forwarding the keyword(s) to the web server search engine in the original language. Reverse machine translation may be configured so it may be performed only on the specific keyword field(s) of the search form(s) in a web site.
The system of the present teaching is compatible with all Internet search engines, such as GOOGLE or ALTAVISTA. These search engines utilize content from both the body and head of the HTML document to index a web page. To ensure transparent compatibility with Internet search engines, the system of the present teaching may translate all applicable text in the head of the document. This includes, but is not limited to the page title, the page description meta-tag, and the keywords meta-tag.
Integration with Machine Translation
In some embodiments, the translation server 400 uses real-time machine translation in the event that a human translation is not (yet) available. In addition, machine translation can be used as input or starting point for human translation or human post-editing. In that case, a human translator or editor post-edits the translation generated by machine translation to improve the translation.
In some embodiments, frequently used data is cached in memory to minimize repeated access to the database 406. The translation server 400 may make extensive use of memory caches to improve response performance. This includes, but is not limited to a text segment cache, a file cache, and a page cache.
As discussed herein, the translation server 400 may not require IT integration with an existing web site infrastructure. The present teaching may convert the outbound HTML stream after it has left the client web server 414. Thus, there is no need to re-architect an existing web site or build a separate web site for alternate language. Further, there is no client storage or management of translated data required. Translated data may be managed and maintained by the WebCATT 408 software outside of the web site's database.
The translation server 400 may also work with any client web server hardware and software technology infrastructure. Further, it allows for evolution of the existing client's hardware and software technology infrastructure. Moreover, deployment of the present teaching requires minimal effort as a reduced amount of client IT resources are required. One-link deployment allows the client to place one link on the web site 414 to provide access to the alternate language web site. Therefore, deployment is rapid and cost effective.
The WebCATT (Web Computer Aided Translation Tool) 408 is a web based Graphical User Interface (GUI) application that is used to perform and manage human translations. The tool may be built specifically translation of web content. It can be used by professional translators to translate web site translatable components and by managers to manage the translation process. Since WebCATT 408 is a web-based application that is accessed via the Internet 412, translators and managers can be located in different geographical areas.
WebCATT 408 may be similar to other computer aided translation tools used by professional translation service organizations. WebCATT 408 may support localization, text recognition, fuzzy matching, translation memory, internal repetitions, alignment, and a glossary/terminology database. WebCATT 408 may be designed for web site translation and include other features optimized for web translation, such as What You See Is What You Get (WYSIWYG) HTML previewing and support for image/graphic translation.
WebCATT 408 may organize the translation workload into web pages. A web page may be, for example the HTML, XML, JavaScript, CSS or other type of web content generated by a specific URL address, regardless of whether that content is static (i.e., physically resides in the web server in a file), or dynamic (i.e., the content is generated dynamically by combining information from a database and HTML templates). Dynamic pages that are dependent on session information (i.e., a shopping cart checkout page) may be also supported.
Within a web page there are two types of units of translation that translators work with: text segments and files. A text segment is a chunk of text on the page. A text segment can range from a single word to a paragraph or multiple paragraphs. A file is any type of external content that resides on a file, is linked from within the page, and may require translation. Typical types of files found in web pages include, but are not limited to images, PDF files, MS Word documents, and Flash movies. A file may be translated by uploading a replacement file that has all text and/or sounds translated.
Also shown in
A section 1110 provides a text segment edit form that allows a translator to edit text segments in the order they appear on the page. This form features a fuzzy search feature that automatically shows and sorts existing segment matches in the database. The translator can copy an existing translation from the search results area to use as a starting translation.
A section 1108 provides a file list form that allows a translator to preview all linked files on the page. The list form allows the translator to select all files that do not require translation (e.g., an image with no text) and quickly tag them as such. It also allows a translator to select individual files for translation via the file edit form. File translation may involve uploading a translated file and translating the file text description if present.
The GUI as shown
The GUI as shown
WebCATT 408 also provides complete management of the translation process. Web pages may be scheduled for translation either automatically by the translation server 400, or manually by a manager via upload of web pages or other type of content to be translated. When a web page is scheduled for translation, it may be placed in the translation queue of a specific customer. Pages to be translated may be scheduled for translation on a priority basis based on pre-defined priority information or using algorithms, such as ones based on the percentage of the page already translated and how often the page is being accessed on the original web server while it's in the translation queue. This allows the most important pages (e.g., most frequently accessed and those with smaller changes) to be translated first.
Once pages are in the queue, a manager can assign them for translation to a specific translator or translation service subcontractor. If assigned to a subcontractor, a subcontractor manager can then assign them to specific translators within the subcontractor organization or even to freelancers that work with them. Proofers can also be assigned. A subcontractor can assign its own proofers to pages and managers can also assign proofers to check the work of translators or subcontractors.
A web page may go through a series of status changes before it is available via the Internet. The status changes follow a translation workflow that allows translation, editing, proofing, and activation. In some embodiments, only active pages may be made available via the Internet.
In addition to the page statuses, the text and files within the page may maintain their own translation status. The status for text segments and files may be maintained both at the page level (i.e., one single overall status for all segments in the page and another one for all files in the page) and individually. The status of text segments and files may change following a translation workflow that allows translation, editing, proofing, and activation Translated segments and files may be available via the Internet only after their status is set to active.
In step 1304, WebCATT 408 may retrieve a first content, or HTML source page, in a first language from the web site 414. In step 1306, WebCATT 408 may parse the first content into one or more translatable components. In step 1308, WebCATT 408 may queue the translatable components for human translation or human edited machine translation into a second language.
In step 1308, for each of the translatable components it may be determined whether to invoke machine translation. If it is affirmative, then control flows to step 1314. Otherwise, control flows to step 1312. In step 1312, WebCATT 408 may provide a translatable component for human translation into a second language. In step 1314, WebCATT 408 may perform machine translation on a translatable component into a second language. In step 1316, WebCATT 408 may provide the machine translated component for human post-editing. In step 1318, for each of the translatable components, WebCATT 408 may store a translated component corresponding to the translatable component, thereby storing a plurality of translated components In step 1320, the control flow of
WebCATT 408 allows translators to work directly with live pages off the web site 414 being translated. Thus, the client web site 414 need not send information to the translation server 400 for translation. Furthermore, all web pages in a web site may be automatically entered into the translation work queue by the WebCATT 408 and spider 404, as described in greater detail below.
WebCATT 408 WYSIWYG preview allows translators to see translated web pages, as they would appear on the live web site. This allows the translator to compensate for word growth or shrinkage that knocks a web page layout out of alignment. Furthermore, in some embodiments a translated preview page may be marked-up with special HTML & JavaScript to allow: 1) color coding of all text in the web page so the translator can see what is already translated, what remains to be translated and where the current text segment is located within the page, 2) clicking in text or a file to take the translator to a form to edit the translation for the text or file, and 3) hovering the mouse over a text or file to pop up a window showing the original wording or file.
WebCATT 408 may parse pages into translatable components and translators only work with such translatable components, not a complex group of HTML files. All non-translatable content, such as HTML and script code, may be hidden when using WebCATT 408. WebCATT 408 can be utilized via the ASP model and translators can access it via the web. Translated pages can be delivered via the translation server 400 or saved as static html pages to be sent to client, wherein links among pages are modified so they reference the translated pages.
WebCATT 408 also allows management of the translation process. Multiple user access levels are supported: managers, proofers, translators & sub-contractors. Mangers can assign work in the translation queue to translators, proofers and/or subcontractors. Subcontractor managers can in turn sub-assign work to subcontractor translators and proofers. Managers can activate web pages before the translation server 400 can deliver them.
A spider is a program that visits web sites and reads their pages and other information in order to create entries for an index such as a search engine index. For example, the major search engines on the Internet all have such a program, which is also known as a “crawler” or a “bot.” Spiders are typically programmed to visit web sites that have been submitted by their owners as new or updated. Entire web sites or specific pages can be selectively visited and indexed. Spiders are named because they usually visit many web sites in parallel at the same time, their “legs” spanning a large area of the “web.” Spiders can crawl through a web site's pages in several ways.
One way a spider can crawl through a web site is to follow all the hypertext links in each page until all the pages have been read. The spiders for the major search engines on the Internet adhere to the rules of politeness for Web spiders that are specified in a standard for robot exclusion. This standard allows specifying files to be excluded from being indexed. The standard also proscribes a special algorithm for waiting between successive server requests so that the spider doesn't affect web site response time for other users.
The operations of a spider are in contrast with a normal web browser operated by a human that doesn't automatically follow links other than inline images and URL redirection. The algorithm used by spiders to pick which references to follow strongly depends on the spider's purpose. Index-building spiders usually retrieve a significant proportion of the references. The other extreme is spiders that try to validate the references in a set of documents. These spiders usually do not retrieve any of the links apart from redirections.
In step 1404, spider 404 may retrieve a first content, such as an HTML source page, in a first language from the web site 414. The first content in a first language may be for translation into a second content in a second language. The second web content may be a human translation, or machine translation, or human edited machine translation in a second language of the first web content. In step 1406, spider 404 may parse the first content into one or more translatable components. A translatable component may include any one of a text segment, an image file with text to be translated, a multimedia file with text or audio to be translated, a file with text to be translated, a file with image with to be translated, a file with audio to be translated, and a file with video and with at least one of text and audio to be translated.
In step 1410, spider 404 may store the translatable components in the database 406 for human translation, or machine translation, or human edited machine translation into the second language.
In optional step 1412, spider 404 may queue the translatable components for human translation, or machine translation, or human edited machine translation into a second language. In optional step 1414, spider 404 may provide the translatable components to WebCATT 408 for human translation or human edited machine translation into a second language. In step 1416, spider 404 may generate statistics based on the translatable components retrieved from the web site 414. The statistics generated may include, but are not limited to a file count, a page count, a translatable segment count, a unique text segment count, a unique text segment word count, and a word count. The spider 404 can further generate a web page having a link to each file of the web site 414. In step 1418, the control flow of
The spider 404 can be pre-configured for each customer web site so that the use of directive tags and/or attributes is eliminated or minimized. This minimizes the workload of the customer web site's IT personnel. Further, the spider 404 can be separately pre-defined by domain and/or by URL pattern. This allows specifying sections of a web site to be translated without the need for placing directive tags in each web page.
The spider 404 can be used to update the WebCATT 408 translation work queue. Further, spider 404 can be used to gather statistics about a web site 414 in order to allow estimating the amount of work involved in translating the web site and pricing accordingly. Spider 404 can summarize word counts, segment counts, file counts and page counts of a web site 414. The spider 404 may supplement the functions of WebCATT 408 by saving all unique text segments and file URLs in the database 406 for later translation into a second language. It can further create an HTML page containing links to all files of web site 414, so the files can reviewed for translation at a later time.
The spider 404 can emulate a user agent (e.g., a browser) by saving and returning cookies when crawling a web site 414. Spider 404 can further fill out and submit forms with pre-defined information and is able to establish a session and normalize session ID parameters for e-commerce sites. Spider 404 can further be configured to crawl only specific areas of a web site by defining include/exclude domains and URL patterns. Spider 404 can also be configured to send specific HTTP headers, such as the user-agent (i.e., type of browser). Spider 404 can be executed in a single computer or in distributed mode. In distributed mode, multiple machines work in conjunction to crawl the same web site simultaneously sharing the same database 406.
Most web sites are continuously updated with new information, but maintaining an alternate language web site up to date presents a challenge when using traditional methods. The system of the present teaching provides various methods to maintain an alternate language web site up to date.
Automatic maintenance involves automated maintenance of the alternate language web site so as to be maintained in synchronization with the original site with no human intervention or little additional effort. Automatic maintenance may be based on the function of the translation server 400 that automatically schedules a web page for translation by placing it in the WebCATT 408 translation queue (described in more detail above) in the event a translation cannot be found for one or more text segments or linked files in the page. Thus, the act of viewing a never-before translated or a modified page in the alternate language enables the scheduling of the web page for translation.
There are several ways to take leverage the auto-scheduling function of the translation server 400. One way involves manual quality assurance review. If a new web page or an updated web page goes through a manual quality assurance process that involves a person reviewing the page before it is released to the live web site, then the quality assurance personnel may simply attempt to view the page in the alternate language during the review process. This will place the new web page in the WebCATT 408 translation queue for translation before the page goes into the production (live) web site.
Another way to take leverage the auto-scheduling function of the translation server 400 involves the spider agent 404. The spider agent 404 can be used to crawl a web site, or just portions of a web site, in the alternate language on a regular basis. Crawling the web site in the alternate language is equivalent to a user viewing the site in the alternate language, and thus results in any new or modified pages being placed in the WebCATT 408 translation queue.
This technique can be used for regularly scheduled updates to a web site, which normally happens after hours. For example, if the ABC Widgets web site modifies its sale offerings twice a week, such as on Mondays and Fridays at 12 AM, then the spider agent 404 can be scheduled to crawl the relevant parts of the site shortly after (e.g., at 12:30 AM) on those days. Around-the-clock translators can then translate the new sale banners so that the alternate language web site is up to date sometime later that morning.
The spider agent 404 can also be used to regularly (e.g., daily) crawl a web site even when changes are not regularly scheduled. This will guarantee that the alternate language site is in sync with the original language site after every crawl and subsequent translation.
Another way to take leverage the auto-scheduling function of the translation server 400 involves user access. Even if no manual quality assurance reviews or scheduled spider agent 404 crawls are performed, the alternate language web site may be still automatically maintained up to date over the long term. This is because the first online user that attempts to view a new or modified page in the alternate language may trigger the placement of that page into the WebCATT translation queue. In that case, the online user may see the page in the original language or may see a partially translated page. However, subsequent users that access the page may see the web page in the alternate language after it has been translated.
In addition to automatic maintenance, the present teaching also supports manual maintenance of the alternate language web site so as to be maintained in synchronization with the original site. New information that needs translation can also be manually placed in the translation queue using WebCATT 408. This can be useful to translate large amounts of data that is available in advance of it being on the live web site 414. For example, if the ABC Widgets web site updates its web site with new product offerings every Thursday morning, and all product information is available by the previous Tuesday, then all new product data can be manually batched into the translation queue using WebCATT 408 as soon as it is available so it is fully translated by the time the new web pages go live. New information that needs translation may also be placed in the translation queue via the web service described in
Population of the WebCATT 408 translation queue can be performed either by URL or by content. Population by URL means that translation server 400 stores only the URL of the page in the queue. The content of the URL may be retrieved afterwards when a translator accesses the page to translate it using WebCATT 408. Population by URL can present a problem if the content of the page is dependent on session information, such as a session ID present in a query parameter or stored in a cookie. In that case, the session ID in the query parameter may have expired or the session information stored in the cookie may not be present when viewing the page in WebCATT 408.
In some embodiments, session dependent pages can be handled in different ways. For example, a session dependent page can be handled by replicating the session state via cookies and/or updated session parameters or by populating the page by content. Replicating the session state allows the translator to manually re-acquire a session from the original site by entering the session data in WebCATT 408. Once the session data is entered, it can be used for translating multiple pages. Population by content means that translation server 400 stores the full content of the page in the queue. This avoids the session dependence issue, but can result in outdated content. As a result, population by content may be used only for session dependent pages, and population by URL, which guarantees that the content being translated is the latest content, may be used for all other pages.
Access to the WebCATT 408 translation queue is segmented by customer and prioritized. Pages to be translated may be scheduled for translation on a priority basis based on pre-defined priority information or using algorithms, such as ones based on the percentage of the page already translated and how often the page is being accessed on the original web server while the page is in the translation queue. This allows the most important pages (e.g., most frequently accessed and those with smaller changes) to be translated first.
A file change detection feature can be used to deal with files whose names have been changed. The translation server 400 and WebCATT 408 can match a file to be translated with its translated file by the URL of the original file. However, it is possible for a file to be changed while its name and location remain the same. In that case, it is possible that an outdated translated file is used for the translation.
To overcome this issue, in some embodiments the translation server 400 computes a hash-code or checksum based on the binary content of the file and stores it with the URL. Each time a file is presented for translation or at certain intervals, the translation server 400 or WebCATT 408 may re-compute the hash-code or checksum and compare it against the stored one. If they match, the file has not changed and the existing translated file can be used as replacement. However, if they do not match, the binary content of the file was changed and the existing file translation cannot be used. In that case, the file may be placed in the WebCATT 408 translation queue so it may be re-translated.
In step 1504, a first content in a first language, such as an HTML, source page, may be retrieved from the web site 414. The first content in a first language may be for translation into a second content in a second language. The second web content may be a human translation, or machine translation, or human edited machine translation in a second language of the first web content. In step 1506, the first content may be parsed into one or more translatable components.
In step 1510, a corresponding translated component of the second web content may be identified or matched for each translatable component of the first web content. If a translatable component of the first web content is not matched to a translated component of the second web content, in step 1512, the translatable component may be designated for translation into the second language. In optional step 1514, the translatable components that weren't matched may be queued for human translation, or machine translation, or human edited machine translation into a second language. In optional step 1516, the translatable components that weren't matched may be provided to WebCATT 408 for translation into a second language. In step 1518, the control flow of
A translated website creates value only when a potential customer visits it. Unfortunately, users sometimes fail to notice the alternate language links on the web site 414. Even when users do see these links, they may be reluctant to click because they believe the experience will be inconsistent or inferior to the origin web site 414. The system of the present teaching provides a solution to this problem called Preference Selector, which provides different ways to prompt a user 416, whose likely language, country, or currency preference may not be consistent with the web site's native language, country, or currency, to confirm this likely preference when entering a web site.
In one embodiment of the present teaching, Preference Selector may pop-up only when it has been determined that a user 416 likely prefers to view web site 414 in a language other than the site's native language. Otherwise, Preference Selector may not pop-up. When Preference Selector pops-up and the user 416 selects a preferred preferences, these preferences may be saved in one more cookies on the user's browser. Preference Selector can then automatically redirect the user 416 to the preferred alternate language site when the user visits the site again. In addition to facilitating the initial language selection process, Preference Selector can also be displayed on-demand to change these preferences at any time.
In some embodiments, Preference Selector can use the following information, which may be available in an HTTP request sent by the user agent (e.g., a browser) or via other means (e.g., cookies), as its inputs to control the subsequent operation(s):
Preference Selector may be pre-configured with the following information, which may be used to control its operation based on the above inputs:
Preference Selector may be implemented by inserting a link to a Preference Selector JavaScript file in the web site 414. This eliminates or minimizes the effort from the IT personnel of a customer's web site. For instance, the code to be inserted to link to the JavaScript file can be provided to a customer as part of the “One-Link” Deployment language switching link. The Preference Selector JavaScript file may be provided to work in conjunction with server side logic to provide the pop-up and redirection behavior.
In step 1814, the Preference Selector JavaScript file logic may generate the Preference Selector server-side URL to the Preference Selector application and instruct the user agent (e.g., a browser) to request the URL. In step 1816, the Preference Selector server-side application may execute its logic. In step 1818, the Preference Selector server-side application may analyze the inputs provided. In step 1820, the Preference Selector server-side application may generate a response.
In step 1908, the presence of Preference Selector cookie may be checked and, if present, it may be determined based on the value of the cookie as to whether the user 416 prefers an alternate language site. If it is affirmative, then control flows to step 1910. Otherwise, control flows to step 1912. In step 1910, the Preference Selector application may respond with a server-side redirection to the translated language site.
In step 1912, the value of an Accept-Language user agent request header may be inspected to determine the user's preferred language and locale. If the first (or primary) language listed therein matches with a configured alternate language, then this primary language may be set as the Preference Selector default language and control flows to step 1914. Otherwise, control flows to step 1916.
In step 1914, the Preference Selector default language may be compared against a configured list of affinity languages, and if a match is found, the mapping may be applied and control flows to step 1932. For example, if the Preference Selector default language is French, and there is no French website available, but an affinity language has been defined that maps French to Spanish (because a French user 416 may prefer to read Spanish before English), then the Preference Selector default language is set to Spanish. In step 1932, the Preference Selector application may respond with a Preference Selector pop-up, e.g., a welcome pop-up, using the Preference Selector default language as the default selection in the user interface.
In step 1916, the value of domain name in the referrer user agent request header may be inspected and compared against a configured list of referrer domains to determine whether the user 416 comes from a website in a configured alternate language. If it is affirmative, then the Preference Selector default language is set to that alternate language and control flows to step 1914. For example, if the referrer domain is “www.terra.com”, which is a well known Internet portal in Spanish, then the Preference Selector default language is set to Spanish. Otherwise, control flows to step 1918.
In step 1918, the value of the top level domain (TLD) of the domain name in the referrer user agent request header may be inspected and compared against a configured list of TLDs to determine whether the user 416 came from a website in a configured TLD. If it is affirmative, then the Preference Selector default language is set according to the language configured for that TLD and control flows to step 1914. For example, if the referrer domain is “www.google.com.mx”, which is GOOGLE's website in Mexico, and the TLD “.mx” is mapped to Spanish, then the Preference Selector default language is set to Spanish. Otherwise, control flows to step 1920.
In step 1920, the value of the subdomain in the domain name in the referrer user agent request header may be inspected and compared against a configured list of subdomains to determine whether the user 416 came from a website in a configured subdomain. If it is affirmative, then the Preference Selector default language is set according to the language configured for that subdomain and control flows to step 1914. For example, if the referrer domain is “espanol.yahoo.com”, which is YAHOO's portal website in Spanish, and the subdomain “espanol” is mapped to Spanish, then the Preference Selector default language is set to Spanish. Otherwise, control flows to step 1922.
In step 1922, the value of a keyword or parameter in the in the referrer user agent request header may be inspected and compared against a configured list of keywords or parameters to determine whether the user 416 is using keywords or parameters associated with an alternate language. If it is affirmative, then the Preference Selector default language is set according to the language configured for that keyword or parameter and control flows to step 1914. For example, if the referrer URL is “http://www.google.com/search?h1=en&q=lavadora” and the search term “lavadora” (which is Spanish for “washer”) in the URL is recognized as a Spanish keyword, then the Preference Selector default language is set to Spanish. Otherwise, control flows to step 1924.
In step 1924, the value of the Accept-Language user agent request header may be re-inspected to determine the user's secondary language and locale. If a secondary language listed is matched against a configured alternate language, then this secondary language is set as the Preference Selector default language, and control flows to step 1914. Otherwise, control flows to step 1926.
In step 1926, the value of the user agent language may be inspected to determine the user's user agent language. If the user agent language is matched against a configured alternate language, then the user agent language is set as the Preference Selector default language, and control flows to step 1914. Otherwise, control flows to step 1928.
In step 1928, the IP address of the user 416 may be inspected and a geo-location database used to determine the user's geographic location, such as the country, state/region, city, and zip code. If the user's geographic location is matched against a configured mapping of locations to languages, and the language corresponding to the user's location is matched against a configured alternate language, then the location language is set as the Preference Selector default language, and control flows to step 1914. Otherwise, control flows to step 1930.
In addition to the IP address and the geo-location, the user's demographic information and online activity history information may be inspected to determine the user's preferred language. In one embodiment, the demographic information such as the ethnic information may be obtained and inspected. For example, if the user belongs to the Hispanic ethnic group, the preferred language of the user is likely to be Spanish. In another embodiment, the user's online activities may be obtained and inspected. In one example, the language in which the user has been using to send and receive emails may be used to determine the user's preferred language. In another example, the user's online shopping history may be analyzed, for example, the language of the books or CDs that the user has been purchasing. The demographic information and the online activities history information may be obtained from various sources, such as but not limited to cookies, online commercial activities survey agencies, or any suitable sources where the user may supply his/her personal information or preference information (not shown in figures).
When control flows to step 1930, Preference Selector has been unable to find a default alternate language. In step 1930, the Preference Selector cookie may be set with a value for the native language of the site 414. In that case, when the user 416 returns to the site 414, steps 1804, 1806, 1808 and 1822 of
In another embodiment of the present teaching, the order in which the inputs are checked in the operational flow diagram of
In another embodiment of the present teaching, Preference Selector does not actually pop-up in a window in front of the native site 414, but instead replaces an existing area in the page.
In another embodiment of the present teaching, Preference Selector allows the user 416 to select a preferred currency and geographic location (i.e., country or region where the user 416 is coming from or wants items shipped to). This is useful for websites that offer international service (e.g., global ecommerce, country specific offers or pricing, etc).
In another embodiment of the present teaching, Preference Selector pops-up for all users to a website, regardless of the value of the Preference Selector inputs. In this case, Preference Selector prompts all users 416 to choose a language, including those users that likely prefer the native language of the site 414. Preference Selector may also prompt all users to choose a preferred currency and/or geographic location.
In another embodiment of the present teaching, Preference Selector shows the user 416 customized content according to one or more of the Preference Selector inputs. For example, Preference Selector can display market specific messaging or offers by language or geographic location. Preference Selector may also show a customized offer when a user 416 came from a specific site (i.e., the referring site), or when the user 416 used specific search keyword(s) to land on the site.
In another embodiment of the present teaching, Preference Selector can redirect the user 416 to different sites depending on one or more of the Preference Selector inputs. For example, a customer may have two sites that offer the same service (e.g., purchasing train tickets), one for European users and the other for all other users coming from outside Europe. Both of these sites are available in a native language and several other alternate languages. Preference Selector may be configured to redirect the user 416 to the applicable language version of the appropriate site, depending on where the user 416 is coming from and the selected preferred language.
In another embodiment of the present teaching, Preference Selector collects data about user 416 behavior and learns about circumstances under which it should pop-up in the future. If a user 416 chooses an alternate language site via Preference Selector, Preference Selector records information on that user 416 that may include (1) the user's IP address and/or geo-location information, (2) the referring site URL and IP address, (3) the country/region of origin of the referring site, (4) the user' demographic information, and (5) the user's online activity history information. If over time a significant number of users coming from the same referring site select the same alternate language via Preference Selector, even if that referring site is not located in a country where that language is commonly used, it is added to Preference Selector's list of referrer sites for which to pop-up Preference Selector with a default selection of that alternate language. If over time a significant number of users located on the same city or region within a country (based on the user's IP address or geo-location information) select the same alternate language via Preference Selector, even if that city/region is not flagged for that alternate language, that city or region is added to Preference Selector's list of locations for which to pop-up Preference Selector with a default selection of that alternate language.
Translating a web site to another language is an important first step in expanding an organization's reach to new foreign markets. However, in order to make a web site culturally suitable to a desired target audience, it is essential that the web site's content is customized, or localized, according to the culture and requirements associated with the targeted audience. Examples of localization include, for example customizing the format of numbers, dates and times; converting currency in accordance with the custom of the local market; and converting units of measurement in accordance with the custom of the local market. Such formatting and conversion capabilities may be performed by the Translation Server 400 at the time of converting pages from one language to another. In addition, customization can go beyond formatting and conversion in order to provide culturally relevant content to each targeted local market. Such localized content may include, but are not limited to marketing content, product variations, descriptions, and legal language specific to each target local market. The system of the present teaching includes a technology called Content Localizer that enables a web site operator to easily offer content specific to a local market to a user 416.
Content Localizer may comprise two components: a Content Localizer Manager and a Content Localizer Server. The Content Localizer Manager is an application used to define localized content and to manage the process of content localization. The Content Localizer Server is an application responsible for serving the localized content to the user 416. In some embodiments of the present teaching, the Content Localizer Manager is a web based application with a Graphical User Interface (GUI) interface.
In some embodiments, the computer systems for Translation Server 2102, Content Localizer Server 2110, Content Localizer Manager 2116, and web servers 2104, 2112 and 2118, are one or more Personal Computers (PCs) (e.g., IBM or compatible PC workstations running the Microsoft Windows 95/98/2000/2008/ME/CE/NT/XP/VISTA/7 operating system, Unix, Linux, Macintosh computers running the Mac OS operating system, ANDROID, or equivalent), Personal Digital Assistants (PDAs), tablets, smart phones, game consoles or any other information processing devices. In some embodiments, the computer systems of Translation Server 2102, Content Localizer Server 2110, Content Localizer Manager 2116, and web servers 2104, 2112 and 2118, are server systems (e.g., SUN Ultra workstations running the SunOS operating system or IBM RS/6000 workstations and servers running the AIX operating system).
The Content Localizer Manager 2116 may be utilized by users whose role involves managing the content on the web site 2114 to define localized content for some target markets. The Content Localizer Manager 2116 allows a user to upload or specify localized content and associate such content with an identifier and a variety of conditions that need to be satisfied before the localized content is to be displayed. The localized content together with its identifier and associated conditions are stored in the localized content database 2100. In some embodiments, localized content can include text, one or more graphics, flash files, videos, a chunk of HTML or JavaScript code, etc.
The identifier may be used to determine where on the site the localized content is to be placed. Different versions of localized content can be associated with the same identifier, but may have different conditions. This allows different versions of the content to be displayed on the same area of the site depending on which conditions are met. A default localized content may also be specified, which may be used when none of the pre-defined conditions are met.
Examples of conditions to be satisfied in order for the content to be displayed may include:
Localized content can be defined to support testing of two or more different versions of localized content associated with the same identifier and the same conditions. In this case, the Content Localizer Server 2110 may apply the different versions of the localized content among users that meet the associated conditions. In some embodiments, round robin approach may be applied and in other embodiments, the selection of a particular version for a particular user may be made randomly or based on some conditions. In other embodiments, the selection may be based on a specified allocation algorithm. Special requirements such as session persistence may be factored in so that once a user is assigned a specific version of the localized content, that version is continuously applied to the same user by, e.g., saving the information in a Content Localizer cookie, so that on subsequent visits the user is shown the same localized content.
Once localized content is defined via the Content Localizer Manager 2116 and stored in the localized content database 2100, the Content Localizer Server 2110 is responsible for serving the appropriate localized content whenever the conditions are met.
In step 2206, the Content Localizer Server 2110 may retrieve all localized content and associated conditions from the database 2100 that match the identifier sent in the request. In step 2208, the Content Localizer Server 2110 may inspect each of the retrieved localized contents and conditions. In step 2210, the Content Localizer Server 2110 may determine whether the conditions specified in the retrieved localized content match those of the inputs included in the request.
If it is affirmative, then control flows to step 2214. Otherwise, control flows to step 2212. In step 2214, the Content Localizer Server 2110 may send the matching localized content as response to the request. In step 2212, the Content Localizer Server 2110 may check whether a default localized content is defined for the identifier. If it is affirmative, then control flows to step 2216. Otherwise, control flows to step 2218. In step 2216, the Content Localizer Server 2110 may send the default localized content as response to the request. In step 2218, the Content Localizer Server 2110 may not send localized content as response to the request. In step 2220, the control flow of
The operational flow diagram of
In step 2308, the language condition specified in the localized content may be checked against the language in which the user is viewing the site, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the user is viewing the site in a language specified in this condition, then control flows to step 2310. Otherwise control flows to step 2306. In step 2310, the user location condition specified in the localized content may be checked against the actual location of the user (which may be determined by the user's IP address, geo-location information or a pre-stored cookie with location information), and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the user is in a location specified in this condition, then control flows to step 2312. Otherwise control flows to step 2306. In step 2312, the stored cookie condition specified in the localized content may be checked against the cookies present in the request, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the user has a cookie specified in this condition, then control flows to step 2314. Otherwise control flows to step 2306.
In step 2314, the referrer domain condition specified in the localized content may be checked against the domain of the referring site in the request, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the user comes from a referring site domain specified in this condition, then control flows to step 2316. Otherwise control flows to step 2306. In step 2316, the referrer TLD condition specified in the localized content may be checked against the TLD of the referring site in the request, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the user comes from a referring site TLD specified in this condition, then control flows to step 2318. Otherwise control flows to step 2306. In step 2318, the referrer sub-domain condition specified in the localized content may be checked against the sub-domain of the referring site in the request, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the user comes from a referring site sub-domain specified in this condition, then control flows to step 2320. Otherwise control flows to step 2306. In step 2320, the referrer keyword or parameter condition specified in the localized content may be checked against the URL of the referring site in the request, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or URL of the referring site contains a keyword or parameter specified in this condition, then control flows to step 2322. Otherwise control flows to step 2306.
In step 2322, the Accept-language header condition specified in the localized content may be checked against the Accept-language header sent in the request, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the Accept-language header contains a value specified in this condition, then control flows to step 2324. Otherwise control flows to step 2306. In step 2324, the user agent default language condition specified in the localized content may be checked against the user agent default language sent in the request, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the user agent default language contains a value specified in this condition, then control flows to step 2326. Otherwise control flows to step 2306. In step 2326, the user agent, operating system or device condition specified in the localized content may be checked against the user agent, operating system or device information sent in the request, and a determination may be made whether this condition is applicable to the request. If this condition is not specified or the user agent, operating system or device contain a value specified in this condition, then control flows to step 2328. Otherwise control flows to step 2306. In step 2328 an affirmative response is returned.
The Translation Server 2102 may work in conjunction with the Content Localizer Server 2110 to generate the localized content. Each area of a page on the web site 2114 that contains localized content can be identified via the use of the localized content identifier. This identifier is matched with the identifier defined for the content via the Content Localizer Manager 2116 and stored in the localized content database 2100.
For example, below is the HTML of a page containing information about a SONY 46″ television that contains a special offer:
The above page is on a web site 2114 that is based in the US and the special offer is targeted to users within the US. However, the web site 2114 can also be translated to Spanish to serve Spanish speaking communities in the USA and abroad. To be effective in marketing, it is beneficial to localize the product offer to users, e.g., coming from Mexico or Spain who are viewing the site in Spanish. To do so, in some embodiments, the special offer may be localized by defining two different versions of the localized offers via the Content Localizer Manager 2116, as shown in the example below:
In this illustrated example, both localized offers share the same identifier (“special-offer-100”), but the actual content of the offer and the conditions differ. In this example, the Content Localizer Server 2110 replaces the US version of the offer (i.e., “Buy a SONY BRAVIA XBR before the end of the month and get free shipping!”) with the Mexican version of the offer (i.e., “Buy a SONY BRAVIA XBR before the end of the month and get a free mounting bracket!”) when a user from Mexico is viewing the site in Spanish. Or if a user from Spain is viewing the site in Spanish, then Content Localizer Server replaces the US offer with the Spain offer (i.e., “Buy a SONY BRAVIA XBR before the end of the month and get a free SONY MP3 player!”).
In order to be able to place localized content on a page, the area of a page that contains the content to be localized may need to be identified. The Content Localizer Server 2110 may be designed to support different ways to achieve that. In some embodiments, this can be done by wrapping a span or div tag, or another tag, around the content to be localized, which references the identifier assigned to the localized content via the Content Localizer Manager 2116.
The example below shows the use of a span tag that wraps the text of the offer to be localized. The span tag contains an “id” attribute whose value (“special-offer-100”) is the identifier assigned to the offer via the Content Localizer Manager, allowing it to be matched with the corresponding localized content stored in the localized content database 2100.
In other embodiments, the area of the page may also be identified via an exemplary Directive Tag called “mp trans localize.” Below is an example of its use for the above special offer:
In some embodiments, other means, instead of span, div or Directive Tags, may be used to identify the content to be localized on a page. In one embodiment, the localized content can be associated with existing text, or an existing graphic, flash or video file, on a page via the Content Localizer Manager 2116 and the localized version of the content can be replacement text or a replacement graphic, flash or video file, or even a different type of content that fits in the same area.
In another embodiment, the content to be localized on a page may be identified via a Document Object Model (DOM) traversal syntax, such as XPath. In this case, the tags that enclose the content to be localized are defined via their location within the DOM tree, and there is no need to use span, div or Directive Tags. Below is an example of how the XPath syntax can be used to define the location of the area containing the offer to be localized for the above example product page:
/html/body/p[id=“offee”]
The above XPath can be associated with the identifier “special-offer-100” without the need to insert span, div or directive tags containing the identifier in the product page
And in another embodiment of the present teaching, content to be localized on a page can be identified by pattern matching the content in the page against pre-defined patterns of content within the page, using a pattern matching syntax, such as regular expressions. Below is an example of how a regular expression can be used to define the location of the area containing the offer to be localized for the above example product page:
id=“offer”>(.+)</p>
To facilitate these different embodiments disclosed herein, the Content Localizer Manager 2116 may provide a user interface to allow a user to select an area of a page to be customized. Once an area is selected, the Content Localizer Manager 2116 may then identify the actual HTML code that produces the content within the area and generate a DOM traversal path or a pattern match expression that identifies the area within the page.
When areas of the page to be localized are identified, the Translation Server 2102 may be made capable of recognizing these areas at the time that it parses the page during the process of page conversion from one language to another.
In one embodiment of the present teaching, the Content Localizer Server 2110 is a separate application whose primary function is to serve localized content. In this case, when the Translation Server 2102 recognizes an area to be localized at page conversion time the Translation Server 2102 replaces the content to be localized with HTML code, and/or JavaScript code, and/or other code that is executed on the user agent and generates an HTTP request to the Content Localizer Server 2110 that includes the identifier of the localized content and other request inputs listed in the description of
If it is affirmative, then control flows to step 633. Otherwise, control flows to step 627. Step 627 is identical to the same numbered step described in
In another embodiment of the present teaching, the Content Localizer Server 2110 may be part of the functionality of the Translation Server 2102. In this case, the Translation Server 2102 may perform the process flows described in
For simplicity purposes, the content to be localized in the above example is a string of text. However, as previously mentioned, the content to be localized can be anything within a page, including text, one or more graphics, flash files, videos, a chunk of HTML code, JavaScript code, CSS code, XML, etc. When uploading or entering localized content via the Content Localizer Manager 2116, it is possible to specify the dimensions of the area the content occupies on the page, which is typically done in pixels. In that case, the Content Localizer Server 2110 may restrict the output of the localized content to the specified dimensions. It is also possible to specify the dimensions of the area the content occupies on the page using the span, div tag, Directive Tag, or other tag, that wraps the content to be localized. For example:
The localized content may be uploaded or entered in the native language of the web site 2114, or in the language of the target audience. If the content is specified in the native language of the web site 2114, then the content will automatically be entered into the translation workflow of the WebCATT tool 408, so it can be translated into the language of the target audience. This is useful when the localized content is generated by users in the native country of the web site 2114, which is the US in this example. The localized content may also be specified in the language of the target audience, in which case there is no need for the content to be translated. This is useful when the localized content is generated by users who reside in the country of the target audience. In our example, a user in Mexico whose responsibility includes managing the local content shown to users in Mexico, may directly upload or enter the localized offer for Mexico in Spanish in the Content Localizer Manager 2116.
The present teaching is also useful for a web site 2114 that has product assortment requirements for different local markets, such as manufacturer restrictions on products that can only be sold in certain countries. In this case, the Content Localizer Server 2110 can accept a periodic data feed with product assortment information for the targeted local markets. This feed may include a list of the all products offered, where each product is flagged with any applicable restrictions, such as shipping restrictions. The Content Localizer Server 2110 and the Translation Server 2102 can then use the information from the product feed to perform product specific localizations, which may include:
The Translation Server 2102 and the Content Localizer Server 2110 can store a Content Localizer cookie in the user's user agent (e.g., a browser) that contains information that identify the user for localization purposes and includes information on the referring URL, user geo-location data, the conditions that were satisfied by the user and other user preferences and behavior information.
The present teaching may be realized in hardware, software, firmware, or any combination thereof. A system according to one embodiment of the present teaching can be realized in a centralized fashion in one computer system or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system—or other apparatus adapted for carrying out the methods described herein—is suited. A typical combination of hardware, software, and firmware could be a general-purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein.
An embodiment of the present teaching can also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which—when loaded in a computer system—is able to carry out these methods. Computer program means or computer program as used in the present teaching indicates any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following a) conversion to another language, code or, notation; and b) reproduction in a different material form.
A computer system may include, inter alia, one or more computers and at least a computer readable medium, allowing a computer system, to read data, instructions, messages or message packets, and other computer readable information from the computer readable medium. The computer readable medium may include non-volatile memory, such as ROM, Flash memory, Disk drive memory, CD-ROM, and other permanent storage. Additionally, a computer readable medium may include, for example, volatile storage such as RAM, buffers, cache memory, and network circuits. Furthermore, the computer readable medium may comprise computer readable information in a transitory state medium such as a network link and/or a network interface, including a wired network or a wireless network that allow a computer system to read such computer readable information.
The computer system can include a display interface 1608 that forwards graphics, text, and other data from the communication infrastructure 1602 (or from a frame buffer not shown) for display on the display unit 1610. The computer system also includes a main memory 1606, preferably random access memory (RAM), and may also include a secondary memory 1612. The secondary memory 1612 may include, for example, a hard disk drive 1614 and/or a removable storage drive 1616, representing a floppy disk drive, a magnetic tape drive, an optical disk drive, etc. The removable storage drive 1616 reads from and/or writes to a removable storage unit 1618 in a manner well known to those having ordinary skill in the art. Removable storage unit 1618, represents a floppy disk, magnetic tape, optical disk, etc. which is read by and written to by removable storage drive 1616. As will be appreciated, the removable storage unit 1618 includes a computer usable storage medium having stored therein computer software and/or data.
In alternative embodiments, the secondary memory 1612 may include other similar means for allowing computer programs or other instructions to be loaded into the computer system. Such means may include, for example, a removable storage unit 1622 and an interface 1620. Examples of such may include a program cartridge and cartridge interface (such as that found in video game devices), a removable memory chip (such as an EPROM, or PROM) and associated socket, and other removable storage units 1622 and interfaces 1620 which allow software and data to be transferred from the removable storage unit 1622 to the computer system.
The computer system may also include a communications interface 1624. Communications interface 1624 allows software and data to be transferred between the computer system and external devices. Examples of communications interface 1624 may include a modem, a network interface (such as an Ethernet card), a communications port, a PCMCIA slot and card, etc. Software and data transferred via communications interface 1624 are in the form of signals which may be, for example, electronic, electromagnetic, optical, or other signals capable of being received by communications interface 1624. These signals are provided to communications interface 1624 via a communications path (i.e., channel) 1626. This channel 1626 carries signals and may be implemented using wire or cable, fiber optics, a phone line, a cellular phone link, an RF link, and/or other communications channels.
In this document, the terms “computer program medium,” “computer usable medium,” and “computer readable medium” are used to generally refer to media such as main memory 1606 and secondary memory 1612, removable storage drive 1616, a hard disk installed in hard disk drive 1614, and signals. These computer program products are means for providing software to the computer system. The computer readable medium allows the computer system to read data, instructions, messages or message packets, and other computer readable information from the computer readable medium. The computer readable medium, for example, may include non-volatile memory, such as Floppy, ROM, Flash memory, Disk drive memory, CD-ROM, and other permanent storage. It is useful, for example, for transporting information, such as data and computer instructions, between computer systems. Furthermore, the computer readable medium may comprise computer readable information in a transitory state medium such as a network link and/or a network interface, including a wired network or a wireless network, that allow a computer to read such computer readable information.
Computer programs (also called computer control logic) are stored in main memory 1606 and/or secondary memory 1612. Computer programs may also be received via communications interface 1624. Such computer programs, when executed, enable the computer system to perform the features of the present teaching as discussed herein. In particular, the computer programs, when executed, enable the processor 1604 to perform the features of the computer system. Accordingly, such computer programs represent controllers of the computer system.
Although specific embodiments of the teaching have been disclosed, those having ordinary skill in the art will understand that changes can be made to the specific embodiments without departing from the spirit and scope of the teaching. The scope of the teaching is not to be restricted, therefore, to the specific embodiments.
Other concepts relate to unique software for implementing the different aspects of the present teaching, such as translation server, preference selector, content localizer, URL translation and optimization, E-mail translation server, human machine cooperated translation, WebCATT, TransScope, TransSync, etc. A software product, in accord with this concept, includes at least one machine-readable medium and information carried by the medium. The information carried by the medium may be executable program code data regarding web content translation and operational parameters. When such information carried by the medium is read by a machine, it causes the machine to perform programmed functions. In one example, a translation server located connected with the Internet executes instructions recorded on a medium and is capable of receiving a request for content translation, to obtain content in a first language from a publicly accessible source, analyzing the content in the first language, performing necessary translation based on the analysis, and forwarding, via a network, the translated content in a second language to a party that requesting it.
The hardware elements, operating systems and programming languages of such translation servers are conventional in nature, and it is presumed that those skilled in the art are adequately familiar therewith. Of course, the server functions may be implemented in a distributed fashion on a number of similar or even different platforms, to distribute the processing load. Hence, aspects of the methods of receiving web content translation requests through a common communication port in a server or network device from a variety of client applications, as outlined above, may be embodied in programming.
Program aspects of the technology may be thought of as “products” or “articles of manufacture” typically in the form of executable code and/or associated data that is carried on or embodied in a type of machine readable medium. Tangible non-transitory “storage” type media include any or all of the memory of the computers, processors or the like, or associated modules thereof, such as various semiconductor memories, tape drives, disk drives and the like, which may provide storage at any time for the software programming.
All or portions of the software may at times be communicated through the Internet or various other telecommunication networks. Such communications, for example, may enable loading of the software from one computer or processor into another, for example, from a management server or host computer of the network operator or carrier into the platform of the message server or other device implementing a message server or similar functionality. Thus, another type of media that may bear the software elements includes optical, electrical and electromagnetic waves, such as used across physical interfaces between local devices, through wired and optical landline networks and over various air-links. The physical elements that carry such waves, such as wired or wireless links, optical links or the like, also may be considered as media bearing the software. As used herein, unless restricted to tangible “storage” media, terms such as computer or machine “readable medium” refer to any medium that participates in providing instructions to a processor for execution.
Hence, a machine readable medium may take many forms, including but not limited to, a tangible storage medium, a carrier wave medium or physical transmission medium. Non-volatile storage media include, for example, optical or magnetic disks, such as any of the storage devices in any computer(s) or the like, such as may be used to implement the data aggregator, the customer communication system, etc. shown in the drawings. Volatile storage media include dynamic memory, such as main memory of such a computer platform. Tangible transmission media include coaxial cables; copper wire and fiber optics, including the wires that comprise a bus within a computer system. Carrier-wave transmission media can take the form of electric or electromagnetic signals, or acoustic or light waves such as those generated during radio frequency (RF) and infrared (IR) data communications. Common forms of computer-readable media therefore include for example: a floppy disk, a flexible disk, hard disk, magnetic tape, any other magnetic medium, a CD-ROM, DVD or DVD-ROM, any other optical medium, punch cards paper tape, any other physical storage medium with patterns of holes, a RAM, a PROM and EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave transporting data or instructions, cables or links transporting such a carrier wave, or any other medium from which a computer can read programming code and/or data. Many of these forms of computer readable media may be involved in carrying one or more sequences of one or more instructions to a processor for execution.
Those skilled in the art will recognize that the present teachings are amenable to a variety of modifications and/or enhancements. For example, although the message server implementation described above is embodied in a hardware device, it can also be implemented as a software only solution—e.g., requiring installation on an existing server. In addition, a message server or a bind pooling mechanism as disclosed herein can also be implemented as a firmware, firmware/software combination, firmware/hardware combination, or hardware/firmware/software combination.
The present application is a continuation of U.S. patent application Ser. No. 15/821,607 filed Nov. 22, 2017, which is a continuation of U.S. patent application Ser. No. 14/817,343 filed Aug. 4, 2015, which is a continuation of U.S. patent application Ser. No. 13/182,059, filed Jul. 13, 2011, which claims the benefit of U.S. Provisional Patent Application No. 61/363,804, filed Jul. 13, 2010, the content of which are incorporated herein in their entireties.
Number | Date | Country | |
---|---|---|---|
61363804 | Jul 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15821607 | Nov 2017 | US |
Child | 16459842 | US | |
Parent | 14817343 | Aug 2015 | US |
Child | 15821607 | US | |
Parent | 13182059 | Jul 2011 | US |
Child | 14817343 | US |