background image
<< derby.ui.locale property | ij commands and errors reference >>

Sample language codes

<< derby.ui.locale property | ij commands and errors reference >>
Derby Tools and Utilities Guide
30
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 specifies to run
ij
using the Japanese territory
(derby.ui.locale=ja_JP) using Japanese Latin Kanji mixed encoding (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. The
following table shows some examples.
Table 3.
Sample language codes
Language Code
Description
de
German
en
English
es
Spanish
ja
Japanese
To see a full list of ISO-639 codes, go to
http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt
.
Country codes consist of two uppercase letters that conform to ISO-3166. The following
table shows some examples.
Table 4.
Sample 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
http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
.