2.2 Localization problem


#1

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:ingsub’
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:ininterpolate’
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:int’
from (irb):7