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"]}}}
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"]}}}