Bug 15606 - pl_PL: genitive month names support
Summary: pl_PL: genitive month names support
Status: RESOLVED DUPLICATE of bug 10871
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2013-06-11 20:35 UTC by Piotr Drąg
Modified: 2015-10-28 21:04 UTC (History)
2 users (show)

See Also:
Last reconfirmed:
fweimer: security-

patch to add genitive month names support using %Om to pl_PL locale (619 bytes, patch)
2013-06-11 20:35 UTC, Piotr Drąg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Drąg 2013-06-11 20:35:14 UTC
Created attachment 7069 [details]
patch to add genitive month names support using %Om to pl_PL locale

Slavic languages, like Polish, use different cases for month names when they are on their own (nominative, "styczeń") and when they are part of a date (genitive, "11 stycznia"). Currently Polish locale only have nominative forms, so calendars use ungrammatical forms.

Attached patch to pl_PL locale adds a solution similar to the one found in uk_UA locale:


It uses alt_digits to present a list of month names in proper form for dates.
Comment 1 Rafal Luzynski 2015-10-28 00:41:53 UTC
I suggest closing this bug report as a duplicate of bug 10871 because:

* the other bug, although originally referring to Russian only, provides a large list of affected languages, see bug 10871 comment 6;
* Piotr has already admitted that both his patch and an existing solution for Ukrainian which inspired him are "hacks, dirty workarounds really" - see https://bugzilla.gnome.org/show_bug.cgi?id=749206#c3.
Comment 2 Piotr Drąg 2015-10-28 21:04:26 UTC
I'm really excited and looking forward to your work. :)

*** This bug has been marked as a duplicate of bug 10871 ***