We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using Strapi , so i don't have any json files for translations in my project , how can i switch off that message?
wrapPageElement.js:114 No translations were found in "locales" key for "/team/".
You need to add a graphql query to every page like this:
export const query = graphql` query($language: String!) { locales: allLocale(language: {eq: $language}) { edges { node { ns data language } } } }
The text was updated successfully, but these errors were encountered:
Add this line at the top of the file
import { graphql } from "gatsby";
I spent hours debugging to find this out!!
Sorry, something went wrong.
Add this line at the top of the file import { graphql } from "gatsby"; I spent hours debugging to find this out!!
Which file do you mean I receive this error on every page , Even if I don’t have any requests
Add this line at the top of the file import { graphql } from "gatsby"; I spent hours debugging to find this out!! Which file do you mean I receive this error on every page , Even if I don’t have any requests
On each page you use graphql like this
graphql
No branches or pull requests
I am using Strapi , so i don't have any json files for translations in my project , how can i switch off that message?
wrapPageElement.js:114
No translations were found in "locales" key for "/team/".
You need to add a graphql query to every page like this:
The text was updated successfully, but these errors were encountered: