Opened 6 years ago

Closed 6 years ago

#20441 closed Bug (invalid)

Swedish ordinal numbering in django.contrib.humanize is wrong

Reported by: Horst Gutmann Owned by: Horst Gutmann
Component: Translations Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


It seems like the current translation strings for ordinals the Swedish .po files are wrong. 2 should for instance become 2:a but ends up being 2:e.

The underlying problem (outside of the messages themselves) should be beyond the scope of this ticket and will probably also go beyond #15156, but at least for the first couple of numbers this should be corrected.

Change History (6)

comment:2 Changed 6 years ago by Horst Gutmann

Owner: changed from nobody to Horst Gutmann
Status: newassigned

comment:3 Changed 6 years ago by EmilStenstrom

Triage Stage: UnreviewedAccepted

comment:4 Changed 6 years ago by Horst Gutmann

Pull request:

I've included the translation directly into the repository and will notify the i18n team ASAP about this change in order to prevent overriding the changes with the next Transifex update.

comment:5 Changed 6 years ago by Aymeric Augustin

Has patch: set
Triage Stage: AcceptedReady for checkin

It'd be nice to have this fixed in Transifex before closing the ticket, so I'll keep the PR on hold for now. Otherwise it's fine.

comment:6 Changed 6 years ago by Claude Paroz

Resolution: invalid
Status: assignedclosed

Thanks for the report and the fix, but pure translation bugs are not tracked by tickets (no code change). If we add a test for Swedish, why wouldn't we add tests for the tenth of other languages?

So please, fix it on Transifex directly and this will be included in the next Django release.

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