Dirk Bergmann

Developer, panographer. Does consultancy work from own company. Lives in Chiang Mai, Thailand.

Twitter

Chiang Mai

Hua Hin

Thailand Hotels

ListVote - List. Vote. Learn.

Partnerseek - Find Partners

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.