If your system uses the en_US locale and encoding, the compiler and runtime message catalogs are automatically configured to display correctly. However, if your system uses any other supported locale, you must set the NLSPATH environment variable so that the compiler and runtime functions can find the appropriate message catalogs following installation.
LANG=ja_JP NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/prime/%N export LANG NLSPATH
Substitute any valid national language code for ja_JP, provided the associated message catalogs are installed.
See National language support for a list of supported language locales.