Become Superuser or an equivalent role.
The role contains authorization and commands with certain permissions.
Use the LOCALEADM command to display the currently installed locale on your system. The-l option displays the locale installed in the system. For example:
# localeadm-l
Checking for installed pkgs. This is could take a while.
Checking for Australasia region (AUA)
(1of2 pkgs)
|......|
.
.
.
The following regions are installed on concordance on Wed Dec 15:13:00 MST 2003
POSIX (C)
Europe (CEU)
[Austria, Czech Republic, Germany, Hungary, Poland, Slovakia,
Switzerland (German), Switzerland (French)]
Done.
How to determine if the locale is installed in the system
Become Superuser or an equivalent role.
The role contains authorization and commands with certain permissions.
Use the LOCALEADM command to determine if the locale is installed in the system. The-Q option and the locale query the system to determine if the locale is installed in the system. For example, to determine whether the central European, CEU locale is installed in your system, you can run the following command:
# localeadm-q CEU
Locale/region name is CEU
Checking for Europe region (CEU)
.
.
.
The Europe region (CEU) is installed on this system
How to add a locale to your system
Become Superuser or an equivalent role.
The role contains authorization and commands with certain permissions.
Use the Localeadm command to add a package for the locale you want to install in your system.
The-a option is followed by the locale (which identifies the locale you want to add). The-D option is followed by the device (identifies the device that contains the locale package you want to add). For example, to add a central European, CEU region locale to your system, you can run the following command:
# localeadm-a ceu-d/net/install/latest/solaris/product
Locale/region name is CEU
Devices are/net/install/latest/solaris/product
.
.
.
One or more locales have been added.
To update the list of locales available at
.
.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/unix/