Opened 18 years ago

Closed 15 years ago

#3940 closed (fixed)

Comma as decimal separator

Reported by: vidarl@… 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 vidarl@…, 18 years ago

It should also be accepted as float input in forms (and in the admin interface)

comment:2 by Chris Beaven, 18 years ago

Triage Stage: UnreviewedDesign decision needed

comment:3 by Malcolm Tredinnick, 18 years ago

Triage Stage: Design decision neededAccepted

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.

in reply to:  3 ; comment:4 by vidarl@…, 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?

in reply to:  4 ; comment:5 by Malcolm Tredinnick, 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.

in reply to:  5 comment:6 by vidarl@…, 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 Daniel Poelzleithner, 17 years ago

Owner: changed from nobody to Daniel Poelzleithner

comment:8 by Daniel Poelzleithner, 17 years ago

Keywords: sprintdec01 added

comment:9 by Daniel Poelzleithner, 17 years ago

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 by Ramiro Morales, 17 years ago

Summary: Comma as decimal seperatorComma as decimal separator

comment:11 by Marc Garcia, 17 years ago

Keywords: i18n-rf added

comment:12 by Marc Garcia, 16 years ago

milestone: post-1.0

comment:13 by Alexander Konovalenko, 16 years ago

Cc: alexkon@… added

comment:14 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

comment:15 by Marc Garcia, 15 years ago

Keywords: i18-fixed added; comma decimals i18n-rf removed
Owner: changed from anonymous to Marc Garcia

Fixed in branches/soc2009/i18n-improvements.

comment:16 by Marc Garcia, 15 years ago

Keywords: i18n-fixed added; i18-fixed removed

comment:17 by Marc Garcia, 15 years ago

Triage Stage: AcceptedFixed on a branch

comment:18 by marcob, 15 years ago

Cc: marcoberi@… added

comment:19 by miracle2k, 15 years ago

Cc: miracle2k added

comment:20 by Jannis Leidel, 15 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top