setlocale

Use the setlocale command to change the locale setting for the clustered system (system). It also changes command output to the chosen language.

Syntax

 setlocale     -locale  locale_id 

Parameters

-localelocale_id
Specifies the locale ID. The value must be a numeric value depending on the desired language (as indicated below)

Description

This command changes the language in which error messages are displayed as output from the command-line interface. Subsequently, all error messages from the command-line tools are generated in the chosen language. This command is run when you request a change of language (locale).

Specify the setlocale command to change the locale setting for the system; all interface output is changed to the chosen language. For example, to change the language to Japanese, type the following:

setlocale -locale 3

where 3is the value for Japanese. The following values are supported:
  • 0 US English (default)
  • 1 Simplified Chinese
  • 2 Traditional Chinese
  • 3 Japanese
  • 4 French
  • 5 German
  • 6 Italian
  • 7 Spanish
  • 8 Korean
  • 9 Portuguese (Brazilian)
  • 10 Russian

An invocation example (where 3 is Japanese)

setlocale -locale 3

The resulting output:

No feedback

An invocation example (where 8 is Korean)

setlocale -locale 8

The resulting output:

No feedback