This project is archived and is in readonly mode.

#2866 ✓resolved
Ewald Koenig

ActionView::Helpers::NumberHelper: I18n Translation failes

Reported by Ewald Koenig | July 3rd, 2009 @ 11:57 AM | in 2.x

affected methods:

number_to_currency

number_to_human_size

number_to_percentage

number_with_delimiter

number_with_precision

Usage of methods by I18n internationization; does not pickup the locale specific format.

Reason:

File vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb, line 73

76: defaults = I18n.translate('number.format''number.format', :locale => options[:locale], :raise => true) rescue {}

Wrong lookup string 'number.format''number.format' => 'number.formatnumber.format'

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages