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
Spork doesn't reload I18n translations from config/locales. So I see old translations until I reload spork.
Spork 0.9.0.rc.2, Rails 3
The text was updated successfully, but these errors were encountered:
I confirm this behavior
Sorry, something went wrong.
can you add reload of I18n backend to the each_run block?
Spork.each_run do I18n.backend.load_translations end
@ilyakatz Adding that to the Spork.each_run block causes new translations to be loaded. However, old translations persist.
Spork.each_run
I believe we want to use I18n.backend.reload!.
I18n.backend.reload!
Thank you @nickhoffman, that worked.
Thanks @nickhoffman, that worked, I guess you can close the issue
No branches or pull requests
Spork doesn't reload I18n translations from config/locales. So I see old translations until I reload spork.
Spork 0.9.0.rc.2, Rails 3
The text was updated successfully, but these errors were encountered: