On Thu, 2005-08-25 at 10:38 -0500, Patrick Doran wrote:
> I am researching I18N and L10N support in Jakarta components for a G11N
> project. 
> 
> Do the Jakarta commons components externalize messages in resource
> bundles for translation? If so, are localized versions of any of the
> components available? 
> 
> In particular we are interested in the Discovery, Logging, Digester,
> Collections, and Commons-Cli components.

As you're asking specifically about commons libraries, you may get a
better response if you ask this on the commons-user email list.

There are two types of strings: those intended for users, and those
intended for developers.

Neither Logging nor Digester generate any "user" type messages. This is
not unusual for commons components; they are generally "libaries" that
don't have any UI stuff in them.

They do generate messages in exceptions when things go wrong, and can be
configured to output diagnostic information to assist debugging. Such
developer-type messages are NOT externalised; the messages are english
only and are embedded in the code.

The xml files that digester parses can be in multiple languages; in
particular when using the "xmlrules" module it is a reasonably easy job
to translate the rule files so that localised xml element and attribute
names can be accepted in the input. It's possible to also do this via
the digester API but of course that's the responsibility of the
developer writing the code that *uses* digester.

The commons-logging configuration file is in English. However there's
very little configuration that needs to be done for commons-logging
(except when using the SimpleLog class).

Regards,

Simon




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to