# Other components

Derby also provides locale support for the following components.

- Database error messages are in the language of the locale, if support is explicitly provided for that locale with a special library.

  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.

- The Derby tools. In the case of the tools, locale support includes locale-specific interface and error messages and localized data display.

  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.

Note: You can override the default locale for ij with a property on the JVM. For more information, see the Derby Tools and Utilities Guide.
Parent topic: Localizing Derby
Related concepts
SQL parser support for Unicode
Messages libraries