Chapter 15. Design and development 107
and loading the relevant localization pack, parsing it to pick out the required data, and
returning that data to the invoking JSP code.
The Localization Pack Manager is also in charge of the hierarchy of localization packs used in
our working example. In case that the user locale is not supported in our working example,
the Localization Pack Manager will select the one closest to the user's locale from all
supported locales. If no compatible locale can be found, the en_US default localization pack
will be used instead.
15.5 Machine translation
In addition to its user interfaces in 12 languages (translated in advance by human beings),
Our Global Travel Shanghai Demo also allows you to experience dynamic machine
translation performed by WebSphere Translation Server V1.0 from English to four single-byte
character set (SBCS) languages (French, German, Italian, and Spanish) as well as to four
double-byte character set (DBCS) languages Simplified Chinese, Traditional Chinese,
Japanese, and Korean).
15.5.1 What is machine translation?
Machine translation (MT) is automatic translation of human language by computers. For
instance, an English-to-German MT system translates English (the source language) into
German (the target language) without human intervention.
Though there is still much room for improvement before it can fully replace human translation,
machine translation is an exciting technology that has made great progress over the years. It
is currently capable of conveying the gist of text and can assist human translators in
producing translation drafts. Further human intervention might be required to tune machine
translation output, especially in mission-critical activities such as legal documentation, but in
cases where instant translation is required and document gist is satisfactory, it can save
significant time and effort.
15.5.2 WebSphere Translation Server
WebSphere Translation Server is a cardinal achievement of IBM's long-term attempts in the
realm of globalization. As an add-on tool for the end-to-end globalization process,
WebSphere Translation Server helps bridge language barriers in the world of e-commerce by
exploiting machine translation. IBM has combined several powerful technologies to deliver an
enterprise-level MT solution for the Web. The WebSphere Translation Server is comprised of
a Translation Services Gateway (TSG) and a set of IBM's language engines. The Translation
Services Gateway uses the language engines to provide instantaneous translation services
to Web clients, including servlets, JSPs, and plugin-enabled Web servers.
The User Dictionary Manager (UDM) is a supplementary tool for building user dictionaries
containing context-related translations from the source language to the target language. This
allows users some control over machine translation output. Figure 15-17 on page 108
provides a high-level view of WebSphere Translation Server components.
InfoCenter of the WebSphere Translation Server V1.0
InfoCenter of the WebSphere Translation Server V1.0
108 e-Business Globalization Solution Design Guide
Figure 15-17 WebSphere Translation Server components
Each language engine indicates the supported machine translation between a language pair.
The supported language pairs in WebSphere Translation Server 1.0 are:
򐂰 English to or from French
򐂰 English to or from German
򐂰 English to or from Italian
򐂰 English to Japanese
򐂰 English to Korean
򐂰 English to Simplified Chinese
򐂰 English to or from Spanish
򐂰 English to Traditional Chinese
WebSphere Translation Server is capable of two methods of machine translation—on-the-fly
translation and on-demand translation.
On-the-fly translation occurs automatically if the user sets the language preference in his
Web browser.
For example, if the language used on the server is English and the preferred
language on the user's browser is Simplified Chinese, the Translation Server will
automatically translate so that what the user sees on his browser is a Web page in Simplified
On-demand translation allows the end user to decide what text string or which URL-specified
Web page and for which language the machine translation should be performed. WebSphere
Translation Server provides an open API for users to customize the on-demand translation
function in order to meet the needs of their applications.
15.5.3 Solution for Our Global Travel Shanghai Demo
In our working example, we applied the WebSphere Translation Server 1.0 on-demand
translation function to perform machine translation based on two considerations:
򐂰 Language selection. Users can select for which language the machine translation should
be performed (the source language is English).
򐂰 Hyperlinks. On-the-fly translation can translate the current Web page, but not pages
linked from it. In our working example, since machine translation must be performed in a
constant way, on-the-fly translation cannot satisfy our needs.
InfoCenter of the WebSphere Translation Server V1.0

Get e-business Globalization Solution Design Guide: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.