Supported Locales

/api/admin/supportedlocales

Get

GET /api/admin/supportedlocales

Lists all locales supported by the server

GET /api/admin/supportedlocales HTTP/1.1
Accept: application/json

The response will be a Standard Response, but without the metadata value.

The columns displayed for each locale are:

Human Name Column Name Description
Description Description Description of the locale
Locale Locale The Locale code

The rows array will contain one dataRow element for each supported locale:

{
    "dataRow" : [
        "Afrikaans",
        "af"
    ]
}

The first dataRow of the rows array will always be “Original”.

{
    "dataRow": [
        "Original",
        "Original"
    ]
}

The “original” locale is a special locale; using this locale will restrict the locale functionality for that metabase.

The list of supported locales is displayed to the end-user when creating a repository; once the locale is set, it cannot be changed.