-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
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
Updating locales requires cleaning .cache #166
Comments
The same issue. Please, fix this bug as soon as possible! |
After yarn build, the same bug( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changes in the $langKey.json files will not be reflected while running
npm run develop
.(On creating the file with some translation content for the first time, the translation will be applied.
After adding / changing the file the translations won't be found for the specified
id
.)Solution:
Clean cache.
When using $langKey.json files (like in the example) and specifing them in the gatsby-config.js you either need to run
gatsby clean
or delete the.cache
folder before running (npm run develop
).The text was updated successfully, but these errors were encountered: