Try to run in the console: I18n.translate! 'time.formats.picker', :locale => :en
Also you can remove time.formats.picker translation from your locale file, because ActiveScaffold has the same translation included. On Sábado, 24 de diciembre de 2011 13:07:22 Nick Roosevelt escribió: > I think the answer may be out there. Sorry if this is a repeated question. > > But I have been working on this for a while, and I am just not getting it. > > My en.yml: > > $ cat config/locales/en.yml > # Sample localization file for English. Add more files in this directory > for other locales. > # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocalefor > starting points. > > en: > time: > formats: > picker: "%a, %d %b %Y %H:%M:%S" > default: "%d-%b-%Y %I:%M %p" > date: > formats: > default: "%d-%b-%Y" > > > And this is what happens when I try to precompile: > > $ rake assets:precompile > /Users/nroose/.rvm/rubies/ruby-1.9.2-p290/bin/ruby > /Users/nroose/.rvm/gems/ruby-1.9.2-p290@simple_scrum/bin/rake > assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets > rake aborted! > translation missing: en.time.formats.picker > (in /Users/nroose/.rvm/gems/ruby-1.9.2-p290@simple_scrum > /bundler/gems/active_scaffold-7ece16b81289/app/assets/javascripts/jquery/dat > e_picker_bridge.js.erb) > > Tasks: TOP => assets:precompile:primary > (See full trace by running task with --trace) > rake aborted! > Command failed with status (1): > [/Users/nroose/.rvm/rubies/ruby-1.9.2-p290/...] > > Tasks: TOP => assets:precompile > (See full trace by running task with --trace) > > > Thanks > > Nick -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
