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

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.

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



Last updated: Wed, November 18, 2020