This is the mail archive of the mailing list for the GNU libc locales project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/10871] Ru_RU month names are in incorrect form

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]