MTFilter is a servlet that supports translating a client response
from English to other supported languages.
The servlet invokes the Machine Translation engine to handle the
translation of the response into the target language (either the language
set in the client browser or a fixed language set for the MTFilter
language parameter). The translated response is returned to the client.
MTFilter supports two types of servlet filtering:
- Servlet list filtering: A sequence of two or more servlets of
which MTFilter is the last servlet in the sequence. The response
of the first servlet is passed to the next servlet in the sequence.
When MTFilter receives the response, it invokes the Machine Translation
engine and returns the translated response. With this type of filtering,
a specific servlet is targeted for translation.
- MIME-based filtering: The servlet engine can be configured to
forward client responses with a particular MIME type to the MTFilter
servlet. With this type of filtering, all responses of a particular
MIME type from a specific Web Application are targeted for translation.
|