Luigi Montanez
unread,Feb 4, 2009, 12:45:39 AM2/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rails-i18n
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?