From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52257 invoked by alias); 17 Jan 2016 19:48:44 -0000 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org Received: (qmail 62321 invoked by uid 48); 17 Jan 2016 17:43:34 -0000 From: "van.de.bugger at gmail dot com" To: libc-locales@sourceware.org Subject: [Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases Date: Sun, 17 Jan 2016 19:48:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: van.de.bugger at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: libc-locales at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q1/txt/msg00048.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D10871 --- Comment #33 from van.de.bugger at gmail dot com --- (In reply to Piotr Dr=C4=85g from comment #32) > Instead, there are two applications: to show time and date, and to show a > calendar. Using just standalone and format versions of the month names (or > nominative and genitive) covers both uses. In such a case we would need just two functions: show_time_and_date() and show_calendar(). Indeed we have strftime() with great flexibility: 40 format specifiers, two modifiers O and E, 4 flags _, -, 0, and ^ (btw, all four fl= ags are GNU extensions). > I don't think glibc is intended to be used to construct natural sentences, > in which case we would need support for every single case in every single > language.=20 ...just for 12 (names) + 7 (weekdays) =3D 19 words in a language. It's not = a big deal, is it? Also, there is no need to prepare extended tables for all languages at once= . If table is not yet extended, strftime should fallback to existing (nominative case) name. > I don't think that's realistic or needed. I always love people saying me "this is not needed" when I need it. I already mentioned an example. Look at uk_UA locale definition: > % Initially alt_digits was supposed to hold alternative symbols for _di= gits_, > % corresponding to %O modified conversion specification. > % Although in Ukrainian language alternate _names_ are used instead of = digits. > % We'll use this keyword to present a list of month names in proper for= m for > % date, see mon. (%Om) > % > % This hack is dedicated for months it won't work for other %O* modifie= rs > % (weeks, days etc). People need it, they have implemented a hack for it because there is no way= to implement it in current infrastructure. (I am a bit surprised that this obv= ious hack was accepted by upstream.) --=20 You are receiving this mail because: You are the assignee for the bug.