rails-i18n translation missing errors in production
Here’s the solution:
In environment.rb, put this
I18n.load_path = Dir.glob("#{RAILS_ROOT}/locales/**/*.{rb,yml}")
I18n.default_locale = 'en'
I18n.reload!
This was the only place I could get the I18n.reload! command to help with this issue.
Posted: 11 February 2009
comments powered by Disqus