This project is archived and is in readonly mode.
number_to_human_size with fallback to english
-
DHH
- Assigned user set to Sven Fuchs
-
Yaroslav Markin
Related discussion: http://groups.google.com/group/r...
-
Pratik
- State changed from new to hold
Please reassign to me in "open" once it's ready to go.
Thanks.
-
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
- adding translations manually
- adding translations from http://github.com/svenfuchs/rails-i18n
- adding fallback support through a plugin such as Globalize 2, http://github.com/joshmh/globalize2
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.
