Oracle® Traffic Director Command-Line Reference 11g Release 1 (11.1.1.7) Part Number E21037-03 |
|
|
PDF · Mobi · ePub |
tadm set-localization-prop common_options [--vs=vs_name] --config=config_name (property_name=property_value)+
Use this command to set the localization properties.
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.
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>
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
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.