chlang Command

Purpose

Changes the language settings for the system.

Syntax

chlang { [-msg msgtran ] -lang Name [ -dev Media ] | -ls}

Description

The chlang command is a high-level command that changes the language and keyboard settings for the entire Virtual I/O Server. The user needs to log out for language changes to take effect. If the language file sets are not already installed on the system, the -dev flag is used to specify their location.

When chlang is run with the -ls option, all available languages are listed.

Flags

-msg msgtran Modifies the NSLPATH environment variable. The msgtran parameter is a colon-separated list of message translations (locale names) that indicates the message translation hierarchy required for the system or user.
-dev Media Specifies the device or directory containing the images to install.
-lang Name Specifies the language-territory (locale name) that will become the locale setting for the LANG environment variable.
-ls Lists available languages.

Exit Status

See Virtual I/O Server command exit status.

Examples

  1. To change the language for the entire system to French Canadian, type:
    chlang –lang fr_CA
  2. To display available languages:
    chlang -ls

Related Information

The license command.


Send feedback |  Rate this page