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"
]
}
}
}
Start using DatoCMS today
According to Gartner 89% of companies plan to compete primarily on the basis of customer experience this year. Don't get caught unprepared.
  • No credit card
  • Easy setup
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2024 Dato srl, all rights reserved P.IVA 06969620480