Service: zimbraAccount
Namespace: "urn:zimbraAccount"
GetAllLocales SOAP Command

Returns all locales defined in the system. This is the same list returned by java.util.Locale.getAvailableLocales(), sorted by display name (name attribute).

Authorization token required true
Admin Authorization token required false

GetAllLocalesRequest

    <GetAllLocalesRequest /> ## GetAllLocalesRequest

GetAllLocalesResponse

    <GetAllLocalesResponse> ## GetAllLocalesResponse
        (<locale id="{locale-id}" name="{locale-own-name}" [localName="{locale-local-name}"] /> ## LocaleInfo)*
    </GetAllLocalesResponse>

The following table describes elements and attributes you can define within a <GetAllLocalesResponse> element:

XPath Required / Optional Description
/locale Optional (0 or more) Information about locales
/locale@id Required (only 1) Type:String
Locale ID
/locale@name Required (only 1) Type:String
Name of the locale in the locale itself
/locale@localName Optional (0 or 1) Type:String
Name of the locale in the users' locale