Changes the language settings for the system.
chlang { [ -msg msgtran ] -lang Name [ -dev Media | -ls }
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.
| Flag name | Description |
|---|---|
| -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. |
chlang -lang fr_CA
chlang -ls