derby.ui.locale property The derby.ui.locale property specifies an alternative supported locale name when you use one of the tools with a language not supported by your default system. derby.ui.locale property Internationalization featureslocale

The locale determines the localized display format for numbers, dates, times, and timestamps, as well as the language of the messages from the tools.

This property is commonly used in conjunction with the derby.ui.codeset property.

Syntax derby.ui.locale=derbyval

where derbyval is a supported locale name, in the form ll_CC, where ll is the two-letter language code, and CC is the two-letter country code; for example, ja_JP.

Example

The following command runs ij using the Japanese locale (derby.ui.locale=ja_JP) and Japanese Latin Kanji mixed encoding (derby.ui.codeset=Cp939):

java -Dderby.ui.locale=ja_JP -Dderby.ui.codeset=Cp939 \ -Dij.protocol=jdbc:derby: org.apache.derby.tools.ij

Language codes consist of a pair of lowercase letters that conform to ISO 639-1. The following table shows some examples.

Sample language codesThis table lists and describes some examples of language codes. Language Code Description de German en English es Spanish ja Japanese

To see a full list of ISO 639 codes, go to .

Country codes consist of two uppercase letters that conform to ISO 3166. The following table shows some examples.

Sample country codesThis table lists and describes some examples of country codes. Country Code Description DE Germany US United States ES Spain MX Mexico JP Japan

A copy of ISO 3166 can be found at .