Product Updates

DatoCMS changelog for new features and general improvements
Content Delivery API
Get locales list from GraphQL
October 29th, 2021

You can now query the list of existing locales directly from GraphQL:

query Locales {
_site {
locales
}
}

And you get back the array of the locales:

{
"data": {
"_site": {
"locales": [
"en",
"it",
"ar"
]
}
}
}