Defect #6182

Localized decimal numbers

Added by Petr Pospisil over 6 years ago. Updated 8 months ago.

Status:NewStart date:2010-08-20
Priority:HighDue date:
Assignee:-% Done:

0%

Category:I18n
Target version:Candidate for next major release
Resolution: Affected version:

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

Related to Redmine - Feature #8079: Support localized digits New 2011-04-05

History

#1 Updated by Azamat Hackimov over 6 years ago

  • Category set to Translations

#2 Updated by Jean-Philippe Lang over 6 years ago

  • Category changed from Translations to I18n

#3 Updated by Etienne Massip about 6 years ago

  • Target version set to Candidate for next major release

#4 Updated by Radek Karban almost 5 years ago

+1

#5 Updated by Daniel Felix over 4 years ago

+1

#6 Updated by Johan Hornof almost 4 years ago

+1

#7 Updated by Francesco V over 3 years ago

+1

#8 Updated by Bruno Medeiros over 3 years ago

I need this, any known workaround?

#9 Updated by Herman Suszkewciz 8 months ago

+1

#10 Updated by Herman Suszkewciz 8 months ago

I did it.
Workaround with Custom JS Plugin and example JS http://www.redmine.org/boards/4/topics/44418

Also available in: Atom PDF