Service: zimbraAdmin

Command: GetAllLocales
Namespace: urn:zimbraAdmin
Description: Returns all locales defined in the system. This is the same list returned by java.util.Locale.getAvailableLocales(), sorted by display name (name attribute).
Properties:
Authorization token required true
Admin Authorization token required true

GetAllLocalesRequest

    <GetAllLocalesRequest /> ## GetAllLocalesRequest

GetAllLocalesResponse

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

elements and attributes you can define within a <GetAllLocalesResponse> element:

XPath Required / Optional Description
/locale Optional (0 or more) Information for system locales
/locale@id Required (only 1) Type: String
Locale ID. e.g. "en_US"
/locale@name Required (only 1) Type: String
Locale name - the name in the locale itself. e.g. "English (United States)"
/locale@localName Optional (0 or 1) Type: String
Locale name in the user's locale. e.g. "English (United States)"