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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-11 20:35 UTC by Piotr Drąg
Modified: 2015-10-28 21:04 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
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:

http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/locales/uk_UA;h=b1df63085c485829f83fa4239df659998aac3dee;hb=HEAD#l973

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 ***