Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

ActionView::Helpers::NumberHelper: I18n Translation failes

#2866

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'

Reported by Ewald Koenig · July 3rd, 2009 @ 11:57 AM

State: resolved
Milestone: 2.x
Assigned to: Sven Fuchs Sven Fuchs
Importance: none

Activity

  1. Sven Fuchs
    Sven Fuchs
    • Assigned user set to Sven Fuchs

    July 8th, 2009 @ 11:29 PM

  2. dstamat (at elctech)
  3. Sven Fuchs
    Sven Fuchs
    • State changed from new to resolved

    Ewald,

    I don't quite get this ticket tbh. I cannot find any occurence of 'number.format''number.format', neither in current master or 2-3-stable nor in the history.

    Can you please reopen this ticket and provide some more clear explanation about the issue (maybe with links to the codebase or better yet a failing testcase)?

    I'm going to close the ticket as "resolved" for now based on what dstamat says.

    August 26th, 2009 @ 12:35 PM