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 comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.