Page MenuHomePhabricator

Proper date localization in Special:Notifications page
Open, NormalPublic

Description

Date is not well localized in Special:Notifications page for Galician interface (I suppose this happens in other languages too). This applies to each header containing the date that the notification happened.

For example: "11 JULY" should be "11 DE XULLO" instead of "11 XULLO". Other parts of MediaWiki are configured to show that particle "de" between the number and the month name, although the code line is "<number> (july)" when checking with "?uselang=qqx" option. I guess this is related with CDLR or something similar.

Is it possible to fix this?


Version: unspecified
Severity: trivial

Details

Reference
bz67843

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:37 AM
bzimport added projects: Notifications, I18n.
bzimport set Reference to bz67843.
bzimport added a subscriber: Unknown Object (MLST).
Tolino created this task.Jul 11 2014, 9:48 AM
EBernhardson triaged this task as Normal priority.Feb 27 2015, 6:54 PM
EBernhardson added a subscriber: EBernhardson.

Needs investigation to determine if this is a problem in Echo or in the Languages implementation. In general Echo is already using user localized dates and times, so it seems like the wrong value is probably coming out of that.

Pikne added a subscriber: Pikne.Apr 29 2015, 8:05 AM

I understand that here it's intended to omit the year from date. It seems that Echo fails to extract day and month format from custom date formats properly if the year is omitted. E.g. for Estonian localization (et) there should be dot after day number, while Echo shows it without dot just like in English by only translating the month name. However there is one custom (non-default) date format where month is a roman number (29. IV 2015) and which forces Echo to show the year as well and for that format it shows the dot too. Maybe a simple solution would be to never omit the year? It's odd anyways that the year is omitted while notifications from different years are listed.

Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptApr 29 2015, 8:05 AM
Legoktm moved this task from Backlog to Needs plan on the Notifications board.Jul 6 2015, 8:20 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 10 2015, 8:21 AM
Amire80 moved this task from Untriaged to Date and time on the I18n board.Mar 18 2018, 1:46 PM