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