Opened 6 years ago

Closed 6 years ago

#15340 closed (invalid)

'{% now "D" %}' and '|date:"D"' capitalize Finnish weekday abbreviations

Reported by: Antti Kaihola Owned by: nobody
Component: Translations Version: master
Severity: Keywords: Finnish
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In Finnish, names of weekdays are not capitalized. Django's templating system translates unabbreviated names of weekdays correctly (e.g. "maanantai" for "Monday"), but abbreviations are capitalized, i.e.

Ma, Ti, Ke, To, Pe, La, Su

when the correct form would be

ma, ti, ke, to, pe, la, su

The strftime() methods/functions in both Python and PHP handle this correctly (at least on Linux), but Django looks up translations from django/conf/locale/fi/LC_MESSAGES/django.po which contains incorrect abbreviations.

Change History (1)

comment:1 Changed 6 years ago by Bas Peschier

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

Thanks for looking into it.

Translations in Django are now handled via Transifex (see also http://docs.djangoproject.com/en/dev/internals/contributing/#submitting-and-maintaining-translations). If you would like to help out, you can join the finnish team at http://www.transifex.net/projects/p/django/team/fi/ or leave a message there.

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