Skip to content
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

Open
kinafu opened this issue Dec 29, 2020 · 2 comments
Open

Updating locales requires cleaning .cache #166

kinafu opened this issue Dec 29, 2020 · 2 comments

Comments

@kinafu
Copy link

kinafu commented Dec 29, 2020

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).

@sylvestrevgen
Copy link

The same issue. Please, fix this bug as soon as possible!

@sylvestrevgen
Copy link

After yarn build, the same bug(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants