Application API Utilities sites locales GET
October 15, 2026 at 9:35 AM/sites/{id}/locales GET
Return available locales for the specified site - unprotected.
Parameters
The site ID is part of the URI and should be a valid numeric, site ID, e.g., /sites/41/locales
Response Messages
403 Forbidden - siteid is not valid
{ "fail" : "Invalid Argument" }
200 OK - success
The result is an array of locales, and a default_locale. Each locale in the array is a pair (2-element array) of the locale code (language, _, country) followed by the language name localized into that language. The default_locale is just the locale code (since it will also be listed in the array of locales).
{
"locales" : [
[ "en_US", "English" ],
[ "el_GR", "Ελληνικά" ],
...
],
"default_locale" : "el_GR"
}