This is the mail archive of the libc-locales@sourceware.org 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]

Re: [Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases


On Sun, Jan 17, 2016 at 12:22:38AM +0000, van.de.bugger at gmail dot com wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=10871
> 
> --- Comment #25 from van.de.bugger at gmail dot com ---
> (In reply to Mike Frysinger from comment #20)
> 
> > i think you might have missed some of the things Rafal said.  he is correct
> > when he said BSD because they already have a format specifier for this: %OB.
> > POSIX does *not* support this today (see the linked POSIX bug report for
> > more details) which leads us to the multiple choices he outlined in comment
> > #7.
> 
> 1. I do not understand what do you mean by "POSIX does *not* support this
> today". POSIX is a standard, not an implementation, and O and E modifiers are
> described in the standard, see
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html 
> 
> 2. By this description, O modifier is applicable to d, e, H, I, m, M, S, u, U,
> V, w, W, and y. OB is BSD-specific *extension* to POSIX.
> 
> 3. %OB is not just BSD extension, it is also ugly hack which likely does not
> solve the problem. BSD offers only two cases for month name ??? %B and %OB, while
> in Russian language a noun has six cases, in Finnish ??? more than dozen. I am
> not a linguist and not aware about other languages, but it is obviously 2 cases
> cannot cover all the needs.

Well, can we see what is the extent of the problem?
Russian, Polish, possibly all of the Slavian languages, Finnish,
Hungarian, Estonian?

One could also list all the grammatical cases,  number them and make a notation
in the format specifiers, but if the already implemented and specified
solution solves the problem for all languages with this problem, then
an extended solution could be overkill.

Best regards
Keld


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