Managing Locales

Operator: <locale>.

XML Schema: locale.xsd

Plesk version: Plesk 12.0 and later

XML API version: 1.6.6.0 and later

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