Setlocale – FUJITSU SPARC ENTERPRISE M4000 User Manual

Page 197

Advertising
background image

setlocale(8)

System Administration

211

NAME

setlocale - set the default locale of the XSCF

SYNOPSIS

setlocale -s

locale

setlocale -h

DESCRIPTION

The setlocale(8) command sets the default locale of the XSCF.

The locale that can be set is English or Japanese.

Privileges

You must have platadm privileges to run this command.

Refer to setprivileges(8) for more information.

OPTIONS

The following options are supported:

EXTENDED

DESCRIPTION

The specified locale becomes effective after the subsequent login.

The currently set locale can be checked by using the showlocale(8) command.

EXAMPLES

EXAMPLE 1

Sets the XSCF default locale for English.

EXAMPLE 2

Sets the XSCF default locale for Japanese.

EXIT STATUS

The following exit values are returned:

SEE ALSO

showlocale(8)

-h

Displays usage statement. When used with other options or
operands, an error occurs.

-s

locale

Specifies the default locale of the XSCF. Either of the following
can be specified for locale:

C

Sets the locale for English.

ja_JP.UTF-8

Sets the locale for Japanese.

XSCF>

setlocale -s C

C

XSCF>

setlocale -s ja_JP.UTF-8

ja_JP.UTF-8

0

Successful completion.

>0

An error occurred.

Advertising