Message catalogs in UNIX


All messages returned by UNIX  processes are stored in a message catalog. This catalog is named arsystem.cat for AR System messages. The installation process establishes a symbolic link in the default message catalog area to the catalogs installed by the system. 

Important

All messages returned by Windows processes are compiled into the software and are not stored in an accessible catalog.

By default, the message catalogs are stored in the following locations:

Message catalog locations

The path names contain the following variables:

  • %L specifies the value of the LANG environment variable (It is C by default).
  • %N specifies the name of the message catalog.

For example, the following syntax specifies the AR System message catalog location (assuming the default language environment) on Solaris:

/usr/lib/locale/C/LC_MESSAGES/arsystem.cat

The catalog files are in the locale directory under the AR System installation directory (by default, /usr/ar/locale ). On some systems, the directory holding the catalogs is mounted as read-only, making it impossible to store a link to the message catalogs. You might want to store the catalogs in another location.

Use the NLSPATH environment variable to place the catalogs in a directory other than the default directory.

For example, on Solaris, if the default catalog directory is read-only, you can link to the catalogs by setting the NLSPATH environment variable as follows:

setenv NLSPATH /usr/ar/locale/%N:/usr/lib/locale/%L/LC_MESSAGES/%N

Important

To ensure that catalogs for other products are still accessible, include the default directory in the NLSPATH environment variable.

For more information about internationalizing message catalogs, see your operating system documentation.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*