Opened 18 years ago
Closed 15 years ago
#3940 closed (fixed)
Comma as decimal separator
Reported by: | Owned by: | Marc Garcia | |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Keywords: | i18n-fixed | |
Cc: | miracle2k, alexkon@…, marcoberi@… | Triage Stage: | Fixed on a branch |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Support of different decimal seperators, so floats are formatted correct after use of i.e. the floatformat filter.
Change History (20)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
follow-up: 4 comment:3 by , 18 years ago
Triage Stage: | Design decision needed → Accepted |
---|
If the patch was aware of the currently set locale and used that to determine the separators to use, that would be reasonable. Must also work when USE_I18N=False.
follow-up: 5 comment:4 by , 18 years ago
Replying to mtredinnick:
If the patch was aware of the currently set locale and used that to determine the separators to use, that would be reasonable. Must also work when USE_I18N=False.
Will that work for multilingual sites?
follow-up: 6 comment:5 by , 18 years ago
Replying to vidarl@epost.no:
Will that work for multilingual sites?
Could you be more specific? What problem are you worried about?
Each thread already has a concept of current locale and so do sessions, if that's what you're thinking of.
comment:6 by , 18 years ago
Replying to mtredinnick:
Replying to vidarl@epost.no:
Will that work for multilingual sites?
Could you be more specific? What problem are you worried about?
Each thread already has a concept of current locale and so do sessions, if that's what you're thinking of.
I thought of the locale module not being thread safe. But I'm not sure what else I was thinking of.
comment:7 by , 17 years ago
Owner: | changed from | to
---|
comment:8 by , 17 years ago
Keywords: | sprintdec01 added |
---|
comment:9 by , 17 years ago
Keywords: | sprintdec01 removed |
---|---|
Owner: | changed from | to
removed project from sprintdec01 because the future of the different validators are unclear
comment:10 by , 17 years ago
Summary: | Comma as decimal seperator → Comma as decimal separator |
---|
comment:11 by , 17 years ago
Keywords: | i18n-rf added |
---|
comment:12 by , 16 years ago
milestone: | → post-1.0 |
---|
comment:13 by , 16 years ago
Cc: | added |
---|
comment:15 by , 15 years ago
Keywords: | i18-fixed added; comma decimals i18n-rf removed |
---|---|
Owner: | changed from | to
Fixed in branches/soc2009/i18n-improvements.
comment:16 by , 15 years ago
Keywords: | i18n-fixed added; i18-fixed removed |
---|
comment:17 by , 15 years ago
Triage Stage: | Accepted → Fixed on a branch |
---|
comment:18 by , 15 years ago
Cc: | added |
---|
comment:19 by , 15 years ago
Cc: | added |
---|
comment:20 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [11964]) Fixed #7980 - Improved i18n framework to support locale aware formatting (dates and numbers) and form processing.
Thanks to Marc Garcia for working on this during his Google Summer of Code 2009!
Additionally fixes #1061, #2203, #3940, #5526, #6449, #6231, #6693, #6783, #9366 and #10891.
It should also be accepted as float input in forms (and in the admin interface)