Defect #6182

Localized decimal numbers

Added by Petr Pospisil almost 2 years ago. Updated about 1 year ago.

Status:New Start date:2010-08-20
Priority:High Due date:
Assignee:- % Done:

0%

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

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 Feature #8079: Support localized digits New 2011-04-05

History

#1 Updated by Azamat Hackimov over 1 year ago

  • Category set to Translations

#2 Updated by Jean-Philippe Lang over 1 year ago

  • Category changed from Translations to I18n

#3 Updated by Etienne Massip about 1 year ago

  • Target version set to Candidate for next major release

Also available in: Atom PDF