gatsby-plugin-intl icon indicating copy to clipboard operation
gatsby-plugin-intl copied to clipboard

Reload translations

Open patspam opened this issue 4 years ago • 4 comments

I seem to have to gatsby clean && gatsby develop in order to get changes to my translation files (`*.json) to be picked up - is that expected, or am I doing it wrong?

Narrowing it down slightly, instead of gatsby clean I can do rm .cache/redux.state followed by a restart of gatsby develop

patspam avatar Oct 31 '19 05:10 patspam

@patspam you are correct, see this issue: https://github.com/wiziple/gatsby-plugin-intl/issues/11. I am hoping to look into HMR for these files during development someday soon when I have a chance.

jhoffmcd avatar Oct 31 '19 18:10 jhoffmcd

I'm also having this issue. @patspam or @jhoffmcd did you ever find a solution? Thanks in advance.

samajammin avatar Dec 13 '20 23:12 samajammin

I never ended up finding a solution, I think this is a feature that has to be implemented in the plugin but development on this plugin seems to have dropped off, unfortunately.

jhoffmcd avatar Dec 14 '20 02:12 jhoffmcd

This issue is one of the biggest bottlenecks in our development team, takes time to clean the cache before you can see the translation changes made.

wiltsu avatar Jun 19 '21 16:06 wiltsu