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.

number_to_human_size with fallback to english

#2029

This issue is related to issue http://rails.lighthouseapp.com/p...

If used different locale from English, helper number_to_human_size does not work out of the box which is from my point of view unfortunate situation.

Here is the patch which will fallback to default English language when locale file is not provided.

Reported by vo.x · February 20th, 2009 @ 06:06 PM

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

Activity

  1. DHH
    DHH
    • Assigned user set to Sven Fuchs

    February 22nd, 2009 @ 03:16 PM

  2. Yaroslav Markin
  3. Pratik
    Pratik
    • State changed from new to hold

    Please reassign to me in "open" once it's ready to go.

    Thanks.

    March 9th, 2009 @ 01:47 PM

  4. Sven Fuchs
    Sven Fuchs
    • State changed from hold to wontfix

    Closing this as wontfix for now. See the discussion on the rails-i18n group for explanation: http://groups.google.com/group/rails-i18n/browse_thread/thread/3878...

    The gist of it is: Rails I18n requires the user to provide necessary translations in order to make locales other than :en work. In this case this can easily be done by

    We're considering to include fallback support to the I18n gem as an optional module that people can include. Rails might then add an environment config option to make that really easy. Should investigate existing locale fallback solution other than Globalize2 though.

    July 8th, 2009 @ 11:19 PM