GET
/admin/locales
List supported locales
Returns every locale code accepted by a Space's or Project's locale field, and used by master template generation. Static reference data, unaffected by the caller - authenticated the same as every other Admin API endpoint for consistency, not because the response varies per user.
Example response
{
"locales": [
{
"code": "en",
"label": "English"
},
{
"code": "en_US",
"label": "English (United States)"
},
{
"code": "en_GB",
"label": "English (United Kingdom)"
},
{
"code": "en_AU",
"label": "English (Australia)"
},
{
"code": "en_CA",
"label": "English (Canada)"
}
]
}
The real response lists all 33 supported locales.