public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/10871] New: Ru_RU month names are in incorrect form
@ 2009-10-30  6:50 dwqwt3i02 at sneakemail dot com
  2009-10-30  9:26 ` [Bug localedata/10871] " schwab at linux-m68k dot org
  2010-04-09  3:02 ` drepper at redhat dot com
  0 siblings, 2 replies; 5+ messages in thread
From: dwqwt3i02 at sneakemail dot com @ 2009-10-30  6:50 UTC (permalink / raw)
  To: glibc-bugs

In current Ru_RU locale month names are given capitalized, in nominative case. When this form is 
used to build a date with %B specifier, the resulting form is grammatically incorrect (30 Октябрь 2009 
for example). The correct form which should be used is lowercase, genitive case names (30 октября 
2009).

-- 
           Summary: Ru_RU month names are in incorrect form
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales at sources dot redhat dot com
        ReportedBy: dwqwt3i02 at sneakemail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10871

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/10871] Ru_RU month names are in incorrect form
  2009-10-30  6:50 [Bug localedata/10871] New: Ru_RU month names are in incorrect form dwqwt3i02 at sneakemail dot com
@ 2009-10-30  9:26 ` schwab at linux-m68k dot org
  2010-04-09  3:02 ` drepper at redhat dot com
  1 sibling, 0 replies; 5+ messages in thread
From: schwab at linux-m68k dot org @ 2009-10-30  9:26 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From schwab at linux-m68k dot org  2009-10-30 09:26 -------
*** Bug 10872 has been marked as a duplicate of this bug. ***

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10871

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/10871] Ru_RU month names are in incorrect form
  2009-10-30  6:50 [Bug localedata/10871] New: Ru_RU month names are in incorrect form dwqwt3i02 at sneakemail dot com
  2009-10-30  9:26 ` [Bug localedata/10871] " schwab at linux-m68k dot org
@ 2010-04-09  3:02 ` drepper at redhat dot com
  1 sibling, 0 replies; 5+ messages in thread
From: drepper at redhat dot com @ 2010-04-09  3:02 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2010-04-09 03:02 -------
You'll have to provide a complete patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=10871

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/10871] Ru_RU month names are in incorrect form
       [not found] <bug-10871-131@http.sourceware.org/bugzilla/>
  2011-02-27 22:44 ` van.de.bugger at gmail dot com
@ 2012-11-18  7:29 ` a.m.suharev at gmail dot com
  1 sibling, 0 replies; 5+ messages in thread
From: a.m.suharev at gmail dot com @ 2012-11-18  7:29 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=10871

a.m.suharev at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a.m.suharev at gmail dot
                   |                            |com

--- Comment #4 from a.m.suharev at gmail dot com 2012-11-18 07:28:57 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > You'll have to provide a complete patch.
> 
> I could provide a patch, but there is a problem in specification. Neither "man
> 5 locale" nor "man date" specify the case of name. It is not clear whether it
> should be nominative, genitive or some another case.

If it is not specified, we should follow the language's rules. 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.

Both months and weekdays should be in lower case. The correct form of date
should be "28 февраля" (the genitive). If you add a weekday it is "понедельник,
28 февраля" (nominative for the weekday, genitive for month). A year, if
necessary, should be after the day, optionally followed by the word "года" or
the abbreviation "г.", line this "понедельник, 28 февраля 2011 года".

> The solution could be extending `mon' array. For example, it could contain 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 January 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 name of
> months in the "3rd" case, etc.
> 
> Alternatively, it could be multidimensional array, so in construct `%nB' n
> selects the proper dimension.
> 
> Any thoughts on that?

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 contexts
(month's name "as-is", month's name "when used in a date" etc). The array could
be extensible.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug localedata/10871] Ru_RU month names are in incorrect form
       [not found] <bug-10871-131@http.sourceware.org/bugzilla/>
@ 2011-02-27 22:44 ` van.de.bugger at gmail dot com
  2012-11-18  7:29 ` a.m.suharev at gmail dot com
  1 sibling, 0 replies; 5+ messages in thread
From: van.de.bugger at gmail dot com @ 2011-02-27 22:44 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=10871

van.de.bugger at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |van.de.bugger at gmail dot
                   |                            |com

--- Comment #3 from van.de.bugger at gmail dot com 2011-02-27 22:43:44 UTC ---
(In reply to comment #2)
> You'll have to provide a complete patch.

I could provide a patch, but there is a problem in specification. Neither "man
5 locale" nor "man date" specify the case of name. It is not clear whether it
should be nominative, genitive or some another case.

For example, "date +'%d %B %Y'" produces "28 Февраль 2011" which looks
incorrect (the first letter should be small, not capital, the form should be ).
However, "date +'%B, %d-e'" produces "Февраль, 28-e" which looks correct. "date
+'%B'" produces just months name "Февраль". I cannot say whether it correct or
not without context.

The only clue could be `d_fmt' and `date_fmt' (but latter one is not described
in "man 5 locale") values in locale definition file. It looks like date string
produced with `date_fmt' should be correct, which means it Russian locale month
name (%B) should be in genitive case. But it may break some existing programs
which expect month name in nominative case...

The solution could be extending `mon' array. For example, it could contain 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 January 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 name of
months in the "3rd" case, etc.

Alternatively, it could be multidimensional array, so in construct `%nB' n
selects the proper dimension.

Any thoughts on that?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-18  7:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-30  6:50 [Bug localedata/10871] New: Ru_RU month names are in incorrect form dwqwt3i02 at sneakemail dot com
2009-10-30  9:26 ` [Bug localedata/10871] " schwab at linux-m68k dot org
2010-04-09  3:02 ` drepper at redhat dot com
     [not found] <bug-10871-131@http.sourceware.org/bugzilla/>
2011-02-27 22:44 ` van.de.bugger at gmail dot com
2012-11-18  7:29 ` a.m.suharev at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).