Derby also provides locale support for the following components.
For example, Derby explicitly supports Spanish-language error messages. If a database's locale is set to one of the Spanish-language locales, Derby returns error messages in the Spanish language.
For more information about localization of the Derby tools, see the Derby Tools and Utilities Guide.
Localized messages require special libraries.
The locale of the error messages and of the tools is not determined by the database's localle set by the locale=ll_CC attribute when the database is created but instead by the default system locale. This means that it is possible to create a database with a non-default locale. In such a case, error messages would not be returned in the language of the database's locale but in the language of the default locale instead.