Defect #6182
closedLocalized decimal numbers
0%
Description
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.
Regards
Petr
Related issues
Updated by Jean-Philippe Lang about 14 years ago
- Category changed from Translations to I18n
Updated by Etienne Massip almost 14 years ago
- Target version set to Candidate for next major release
Updated by Herman Suszkewciz over 8 years ago
I did it.
Workaround with Custom JS Plugin and example JS http://www.redmine.org/boards/4/topics/44418
Updated by Go MAEDA about 1 year ago
- Related to Feature #22024: Support localized decimal separators for float values added
Updated by Go MAEDA about 1 year ago
- Status changed from New to Closed
- Priority changed from High to Normal
- Target version deleted (
Candidate for next major release) - Resolution set to Duplicate
The feature was added by #22024 for the upcoming Redmine 6.0.0.