I'm using gatsby-source-prismic-graphql but I couldn't find any way to do this outside of the plugin either, i.e. even a manual fetch request to the Prismic API.
1 Like
Pau
closed , flag & select 'Something Else' to reopen.
4
Hey, @sean, we do provide this list through the /api endpoint of our API. If you query this endpoint you'll get the list of languages used in your prismic repository. I don't think the gatsby-source-prismic-graphql plugin supports the dynamic fetching of those languages. So you could maybe do a PR to support this.