Managing Locales

Operator: <locale>

XML Schema: locale.xsd

Plesk version: 8.1.1

API RPC version: 1.5.0.0

Plesk user: Plesk Administrator

Description

A subset of Plesk user's environment adjusted to a particular language is called locale. On the implementation level, a particular locale is represented by the corresponding language pack (LP). Language pack is an installable file containing resource files. The files are associative arrays structured like "key => value". The locale operator is used to manage LP's and to localize messages wrapped in object descriptors. For information on descriptors, refer to the Descriptors Overview section.

 

Supported operations

  • GET retrieves info on the language packs installed on Plesk server
  • GET-MESSAGE retrieves the message specified by a key from resource files of the language pack
  • ENABLE enables the language pack on the server
  • DISABLE disables the language pack on the server

 

Next in this section:

LP Names

Available Filters

Retrieving List of LP's

Retrieving Localized Messages

Enabling LP

Disabling LP

Locale Codes

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.