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.
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:
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:
For more information about internationalizing message catalogs, see your operating system documentation.