set-localization-prop

Syntax

tadm set-localization-prop common_options [--vs=vs_name] --config=config_name (property_name=property_value)+

Description

Use this command to set the localization properties.

Options

For information about common_options, run the help command.

--vs|-s

Specify the name of the virtual server.

--config|-c

Specify the name of the configuration to set the localization properties.

Operands

property-name=property-value

Specify name=value pairs for one or more properties that you want to define. The name=value pairs should be separated by spaces.

You can set the following localization properties:

default-language: The default language with which the messages and content are displayed.
Values: User specified language codes. Default: en.

negotiate-client-language: Specifies whether the server uses the accept-language HTTP header to negotiate the content language with clients.
Values: true, false. Default: false.

To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>

Example

tadm set-localization-prop --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 --no-prompt --config=www.example.org negotiate-client-language=false

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, get-localization-prop