[kmail2] [Bug 314056] New: Date formatting in group headers difficult to localize

Tommi Nieminen tommi.nieminen at legisign.org
Tue Jan 29 08:44:25 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=314056

            Bug ID: 314056
           Summary: Date formatting in group headers difficult to localize
    Classification: Unclassified
           Product: kmail2
           Version: unspecified
          Platform: Other
               URL: http://tommi.legisign.org/pic/kmail2_group_headers.png
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: message list
          Assignee: kdepim-bugs at kde.org
          Reporter: tommi.nieminen at legisign.org

The date formatting in the group headers of KMail’s message list is not fully
localizable.

In English, the names for weekdays and months are in title case (“Friday”,
”November”). The program seems to rely on this. However, in Finnish and many
other languages, these names are usually in lowercase (”perjantai” = Friday,
”marraskuu” = November).

Also in English, month + year or a weekday name might stand for the temporal
location by itself: “Friday” can be both the base form and the adverb meaning
“on this date”. This is not true for most languages. So for example in Finnish,
the weekday name is “perjantai” but things happening Friday happen
“perjantaina”.

Now see the screenshot in the URL attached. When the message list is grouped by
date, you would get a nicely formatted list of time points in English
(”Friday”, ”Last week”, ”Two weeks ago”, ”November 2012”) but not in languages
where the English expectations don’t hold (”perjantai” should be ”Perjantaina”,
”marraskuu 2012” should be ”Marraskuussa 2012”, and so on).

I think KMail should not blindly rely on the date strings from KDE’s datetime
settings. First, KMail should make sure of the right capitalization. Second,
the datetime strings, once fetched, should still be mentioned in the .po files
so they could be further formatted.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list