Project

General

Profile

Actions

Defect #6182

closed

Localized decimal numbers

Defect #6182: Localized decimal numbers

Added by Petr Pospisil over 16 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
I18n
Target version:
-
Resolution:
Duplicate
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 2 (1 open — 1 closed)

Related to Redmine - Feature #8079: Support localized digitsNewActions
Related to Redmine - Feature #22024: Support localized decimal separators for float valuesClosedGo MAEDAActions

Updated by Azamat Hackimov about 16 years ago Actions #1

  • Category set to Translations

Updated by Jean-Philippe Lang about 16 years ago Actions #2

  • Category changed from Translations to I18n

Updated by Etienne Massip over 15 years ago Actions #3

  • Target version set to Candidate for next major release

Updated by Radek Karban over 14 years ago Actions #4

+1

Updated by Daniel Felix about 14 years ago Actions #5

+1

Updated by Anonymous over 13 years ago Actions #6

+1

Updated by Francesco V about 13 years ago Actions #7

+1

Updated by Bruno Medeiros about 13 years ago Actions #8

I need this, any known workaround?

Updated by Herman Suszkewciz over 10 years ago Actions #9

+1

Updated by Herman Suszkewciz over 10 years ago Actions #10

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

Updated by Go MAEDA almost 3 years ago Actions #11

  • Related to Feature #22024: Support localized decimal separators for float values added

Updated by Go MAEDA almost 3 years ago Actions #12

  • 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.

Actions

Also available in: PDF Atom