Changing the Db2 interface language (Linux® and UNIX)
The interface language of the Db2 database product is the language that appears in messages, help, and graphical tool interfaces.
Before you begin
Do not confuse languages supported by the Db2 database product with languages supported by the Db2 interface. Languages supported by the Db2 database product, that is, languages that data can exist in, are a superset of languages supported by the Db2 interface.
Support for the Db2 interface language you want to use must be installed on your system. Db2 interface language support is selected and installed when you install a Db2 database product using the Db2 Setup wizard. If you change the interface language of the database product to a supported interface language that has not been installed, the interface language will default to the operating system language. If the operating system language is not supported, English is used as the interface language.
Db2 interface language support is selected and installed when you install your Db2 database product using the Db2 Setup wizard or by using the National Language Package.
About this task
To check which public locales are available in your system, run the $ locale -a command.
Procedure
To change the Db2 interface language:
- For bourne (sh), korn (ksh), and bash shells:
LANG=locale export LANG
- For C shell:
setenv LANG locale