Closed AM-NiceDay closed 3 years ago
hey @AM-NiceDay have you written already some content in French?
yes, sorry, just read now :)
which version of the Gatsby source plugin are you using? It's something we've added/fixed recently, can you please check that?
2.2.6
yes, you should upgrade then, we've introduced support in v2.3.0: https://github.com/datocms/gatsby-source-datocms/blob/master/CHANGELOG.md#v230
Works now, thanks
excellent! :)
Hello, I have an issue working with Dato CMS environments.
Initially I have a fully working website integrated with Dato CMS using gatsby-source-datocms plugin.
Here're the steps I take to setup development environment for Gatsby project:
dev
.dev
environment in the header of Dato CMS.yarn start
and go to http://localhost:8000/___graphql.returns
While should return two locales: "en" and "fr". Same goes for the rest, querying any fields return the data from the master branch. Also when I query
datoCmsSomething(locale: {eq: "fr"}) { ... }
it always return null for this query.At the same time API explorer on Dato CMS returns expected results for the French locale.
Let me know if I should provide additional info.