Forum: Ruby on Rails 2.2 Localization problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ead43bcb0202410540a6a7cee5955d46?d=identicon&s=25 Fresh Mix (giga)
on 2008-11-24 16:05
>> I18n.locale = "en"
=> "en"
>> I18n.t 'date.formats.short'
I18n::MissingInterpolationArgument: interpolation argument count missing
in "%b {{count}}"
  from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb:161:in
`interpolate_without_deprecated_syntax'
  from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb:153:in
`gsub'
  from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb:153:in
`interpolate_without_deprecated_syntax'
  from
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/i18n_interpolation_deprecation.rb:21:in
`interpolate'
  from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb:41:in
`translate'
  from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n.rb:160:in
`t'
  from (irb):7
This topic is locked and can not be replied to.