Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#13863 closed (fixed)

DECIMAL_SEPARATOR incorrect in formats.py for sv locale

Reported by: Ulf Urdén <ulf.urden@…> Owned by: nobody
Component: Internationalization Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Hi!

In Swedish, the decimal point is not period, it's comma. I propose this change to formats.py for the sv locale:

-DECIMAL_SEPARATOR = '.'
+DECIMAL_SEPARATOR = ','

Reference: http://sv.wikipedia.org/wiki/Kommatecken

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by anonymous

  • Component changed from Uncategorized to django.contrib.localflavor
  • milestone changed from 2.0 to 1.3
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 4 years ago by jezdez

  • Component changed from django.contrib.localflavor to Internationalization

comment:3 Changed 4 years ago by jezdez

  • Triage Stage changed from Unreviewed to Accepted

comment:4 Changed 4 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(In [14128]) Fixed #13863 -- Corrected decimal separator in Swedish format module. Thanks, Ulf Urdén.

comment:5 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.