Localized decimal numbers
|Target version:||Candidate for next major release|
Hi, how do I adjust the settings so I can enter localized decimal numbers to custom fields? I cannot find something to change decimal point to decimal comma. The "number.human.format.*" in the locals has effect only to show form (included in helpers - number_to_currency etc.). If you are adding a new numbers the english format is forced.
I have founded http://github.com/clemens/delocalize or http://gem-session.com/2010/03/how-to-use-the-comma-as-decimal-separator-in-rails-activerecord-columns-and-text-fields, but pulling a cat's tail seems to be better fun :-).
Thanks for a reply.
#1 Updated by Azamat Hackimov over 12 years ago
- Category set to Translations
#2 Updated by Jean-Philippe Lang over 12 years ago
- Category changed from Translations to I18n
#3 Updated by Etienne Massip almost 12 years ago
- Target version set to Candidate for next major release
#4 Updated by Radek Karban almost 11 years ago
#5 Updated by Daniel Felix over 10 years ago
#6 Updated by Johan Hornof almost 10 years ago
#7 Updated by Francesco V over 9 years ago
#8 Updated by Bruno Medeiros over 9 years ago
I need this, any known workaround?
#9 Updated by Herman Suszkewciz over 6 years ago
#10 Updated by Herman Suszkewciz over 6 years ago
I did it.
Workaround with Custom JS Plugin and example JS http://www.redmine.org/boards/4/topics/44418