Go to main content

International Language Environments Guide for Oracle® Solaris 11.4

Exit Print View

Updated: February 2022
 
 

Configuring National Language Properties

You can list and set the national language properties by using the nlsadm command. National language properties include system properties such as system locale, console keymap and so on. These properties are specific to a locale. Setting these properties enables applications to work properly in different locales. The nlsadm command provides a consolidated and convenient way to administer national language properties.

The nlsadm command helps you to perform the following tasks:

  • Set a system locale, timezone, or console keymap in the system.

  • List the values of system locale, timezone, or console keymap set in the system.

  • List information about a specific locale such as territory, state, language, timezone, codeset, and modifier.

  • Set territory and language information for any locale.

  • List all timezones, console keymaps, installed locales and locales available for installation from the IPS repositories.

For more information, see the nlsadm(8) man page.

The nlsadm command uses the locale_description file to get the locale information. The locale_description file contains national language properties in a key-value pair format. If you create a new locale and want nlsadm to list information about this new locale, you must specify the locale_description file. For more information, see the locale_description(5) man page.


Note - The nlsadm command does not depend on the locale_description file. If the locale_description file does not exist, the nlsadm command gets the information from the name of the locale or from similar locales.