From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14874 invoked by alias); 18 Nov 2012 12:21:20 -0000 Received: (qmail 14823 invoked by uid 48); 18 Nov 2012 12:21:00 -0000 From: "ldv at altlinux dot org" To: glibc-bugs@sources.redhat.com Subject: [Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases Date: Sun, 18 Nov 2012 12:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ldv at altlinux dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: libc-locales at sources dot redhat.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Summary Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00157.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D10871 Dmitry V. Levin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Summary|Ru_RU month names are in |ru_RU: 'mon' array should |incorrect form |contain both nominative and | |genitive cases --- Comment #5 from Dmitry V. Levin 2012-11-18 12= :20:56 UTC --- (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > You'll have to provide a complete patch. > >=20 > > I could provide a patch, but there is a problem in specification. Neith= er "man > > 5 locale" nor "man date" specify the case of name. It is not clear whet= her it > > should be nominative, genitive or some another case. >=20 > If it is not specified, we should follow the language's rules. And the language rules require to use nominative or genitive or some another case depending on context. > If it would be > specified it has to be specified in accordance with the language's rules.= So > let me as a "native speaker" to suggest the solution. >=20 > Both months and weekdays should be in lower case. It depends. > The correct form of date > should be "28 =D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1=8F" (the genitive). Yes, but "=D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1=8C, 28-=D0=B5" is also co= rrect. > > The solution could be extending `mon' array. For example, it could cont= ain 12, > > 24, or even more elements. Element #1 is name of January in nominative = case, > > element #13 is name of January in genitive case, #25 is the name of Jan= uary in > > some 3rd case, etc. `%B' is name of month in nominative case, `%1B' is = the same > > as `%B', `%2B' is the name of months in genitive case, `%3B' is the nam= e of > > months in the "3rd" case, etc. > >=20 > > Alternatively, it could be multidimensional array, so in construct `%nB= ' n > > selects the proper dimension. > >=20 > > Any thoughts on that? >=20 > I think one should definitely extend the "mon" array. However the better = idea > would be to put there not the cases (nominative, genitive etc) but the co= ntexts > (month's name "as-is", month's name "when used in a date" etc). The array= could > be extensible. Yes, putting "mon" array in a single case (no matter whether it would be nominative, genitive or other case) cannot fix the issue, it would just fix some language forms and break other language forms. To fix the issue, an extension is necessary. --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.