Opened 14 years ago
Closed 14 years ago
#15340 closed (invalid)
'{% now "D" %}' and '|date:"D"' capitalize Finnish weekday abbreviations
Reported by: | Antti Kaihola | Owned by: | nobody |
---|---|---|---|
Component: | Translations | Version: | dev |
Severity: | Keywords: | Finnish | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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.
Note:
See TracTickets
for help on using tickets.
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.