Chinese language environment under Solaris: How to display the locale installed in the system

Source: Internet
Author: User
Tags locale

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/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.