The locales utility is used for managing the locales in Plesk.
Usage
locales <command> [<locale_code>]
Example
The following command sets the en-US locale as the default one.
plesk bin locales --set-default en-US
Commands
| Command | Parameter | Description | Example |
|---|---|---|---|
--set-default | <locale code> | Sets the specified locale as the default locale. | To set the plesk bin locales --set-default en-US |
--enable | <locale code> | Enables the specified locale. | To enable the plesk bin locales --enable en-US |
--disable | <locale code> | Disables the locale. | To disable the plesk bin locales --disable en-US |
--list or -l | Shows the list of available locales. | To see the list of available locales: plesk bin locales -l | |
--status | Shows information about locales. | To see the current status of all available locales: plesk bin locales --status | |
--help or -h | Displays this help page. | To see the help page: plesk bin locales -h |