Opened 16 years ago
Closed 14 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 Changed 16 years ago by
comment:2 Changed 16 years ago by
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:3 follow-up: 4 Changed 16 years ago by
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.
comment:4 follow-up: 5 Changed 16 years ago by
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?
comment:5 follow-up: 6 Changed 16 years ago by
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 Changed 16 years ago by
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 Changed 16 years ago by
Owner: | changed from nobody to Daniel Poelzleithner |
---|
comment:8 Changed 16 years ago by
Keywords: | sprintdec01 added |
---|
comment:9 Changed 16 years ago by
Keywords: | sprintdec01 removed |
---|---|
Owner: | changed from Daniel Poelzleithner to anonymous |
removed project from sprintdec01 because the future of the different validators are unclear
comment:10 Changed 16 years ago by
Summary: | Comma as decimal seperator → Comma as decimal separator |
---|
comment:11 Changed 15 years ago by
Keywords: | i18n-rf added |
---|
comment:12 Changed 15 years ago by
milestone: | → post-1.0 |
---|
comment:13 Changed 15 years ago by
Cc: | alexkon@… added |
---|
comment:15 Changed 14 years ago by
Keywords: | i18-fixed added; comma decimals i18n-rf removed |
---|---|
Owner: | changed from anonymous to Marc Garcia |
Fixed in branches/soc2009/i18n-improvements.
comment:16 Changed 14 years ago by
Keywords: | i18n-fixed added; i18-fixed removed |
---|
comment:17 Changed 14 years ago by
Triage Stage: | Accepted → Fixed on a branch |
---|
comment:18 Changed 14 years ago by
Cc: | marcoberi@… added |
---|
comment:19 Changed 14 years ago by
Cc: | miracle2k added |
---|
comment:20 Changed 14 years ago by
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)