Update: I resolved the issue with a call to 'I18n.reload!' in environment.rb, underneath my call to I18n.load_path.
Not sure why I had to do that though... On Feb 4, 12:45 am, Luigi Montanez <[email protected]> wrote: > I've been trying to wrap my head around this for a while now, but no > luck: > > $ script/console development > Loading development environment (Rails 2.3.0)>> I18n.t :are_you_sure > > => "Are you sure?" > > $ script/console production > Loading development environment (Rails 2.3.0)>> I18n.t :are_you_sure > > => "translation missing: en-US, are_you_sure" > > But, load_path, locale, and default_locale are all exactly the same > between development and production. I definitely made sure that > load_path was correct in production. > > All my I18N config is in environment.rb -- nothing in development.rb > nor production.rb. I'm riding Edge Rails. > > One thing I am doing differently is that I'm using *.rb files for the > locale files instead of *.yml, but it seemed to work fine before. > > Anyone run into anything similar? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
