public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
From: "van.de.bugger at gmail dot com" <sourceware-bugzilla@sourceware.org>
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 14:03:00 -0000	[thread overview]
Message-ID: <bug-10871-716-gGdWXEG65R@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-10871-716@http.sourceware.org/bugzilla/>

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

--- Comment #31 from van.de.bugger at gmail dot com ---
(In reply to keld@keldix.com from comment #29)

Thanks for the link. I didn't read entire spec, but LC_TIME section looks very
similar to POSIX. The only additions I found are first_weekday, first_workday,
cal_direction, and timezone; the rest looks the same.

After looking through ISO/IEC 30112 and studying existing locale definitions in
glibc, it is clear to me that O modifier is intended for writing numbers in
traditional style. Some languages (Japanese, Persian, Oriya, Burmese to name a
few) have traditional symbols for digits and numbers. So O modifier is
applicable to numeric values only, and using %OB is a non-standard BSD hack.

BTW, I found a dirty hack in glibc: uk_UA locale has *month names* in genitive
case in alt_digits table. Now they can get month name in genitive case by %Om,
but applying modifier O to another format specifier (like %Od, %Of, %OH) is
meaningless: %OI converts hour to a months name in genitive case... 

You see: users want to have properly formatted dates and ready to implement any
dirty hacks for getting result.

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

All the Slavic languages for sure. Sorry, I am not aware about other languages.

> 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.

I already wrote that two cases (%B and %OB) does not solve the problem in
general. 

However, I understand that two cases (nominative and genitive) cover the great
majority of use cases (for Russian language at least), and I know why: (1) all
the demanding applications have implemented (and had to implement) date/time
formatting routines in-house due to lack of support in standard libraries; (2)
fixing standard libraries takes ages: you see, this issue was open 6 years ago,
but problem is not yet solved.

-- 
You are receiving this mail because:
You are the assignee for the bug.

  parent reply	other threads:[~2016-01-17 14:03 UTC|newest]

Thread overview: 138+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-10871-716@http.sourceware.org/bugzilla/>
2011-02-28  5:12 ` [Bug localedata/10871] Ru_RU month names are in incorrect form van.de.bugger at gmail dot com
2012-11-18  7:49 ` a.m.suharev at gmail dot com
2012-11-18 12:23 ` [Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases ldv at altlinux dot org
2013-06-11 20:57 ` piotrdrag at gmail dot com
2014-07-01  5:56 ` fweimer at redhat dot com
2014-07-01  5:56 ` fweimer at redhat dot com
2014-09-11  0:39 ` samos-project at meta dot ua
2014-09-11  1:57 ` samos-project at meta dot ua
2014-09-11  7:14 ` fweimer at redhat dot com
2015-10-28  2:59 ` digitalfreak at lingonborough dot com
2015-10-28 21:33 ` piotrdrag at gmail dot com
2015-11-19  1:56 ` digitalfreak at lingonborough dot com
2015-11-20 18:40 ` piotrdrag at gmail dot com
2015-11-26 23:50 ` digitalfreak at lingonborough dot com
2016-01-05  2:18 ` digitalfreak at lingonborough dot com
2016-01-05  2:29 ` digitalfreak at lingonborough dot com
2016-01-05  2:34 ` digitalfreak at lingonborough dot com
2016-01-05  2:39 ` digitalfreak at lingonborough dot com
2016-01-05  2:46 ` digitalfreak at lingonborough dot com
2016-01-05  2:54 ` digitalfreak at lingonborough dot com
2016-01-05  3:09 ` digitalfreak at lingonborough dot com
2016-01-08 21:03 ` vapier at gentoo dot org
2016-01-13 21:20 ` van.de.bugger at gmail dot com
2016-01-13 23:50 ` vapier at gentoo dot org
2016-01-14 12:38   ` Keld Simonsen
2016-01-14 12:40 ` keld at keldix dot com
2016-01-14 12:51 ` vapier at gentoo dot org
2016-01-14 13:31   ` Keld Simonsen
2016-01-14 13:34 ` keld at keldix dot com
2016-01-14 14:42 ` vapier at gentoo dot org
2016-01-17  0:23 ` van.de.bugger at gmail dot com
2016-01-17  2:22   ` Keld Simonsen
2016-01-17  0:29 ` van.de.bugger at gmail dot com
2016-01-17  2:11   ` Keld Simonsen
2016-01-17  1:06 ` van.de.bugger at gmail dot com
2016-01-17  2:12 ` keld at keldix dot com
2016-01-17  2:28 ` keld at keldix dot com
2016-01-17  8:07 ` kon at iki dot fi
2016-01-17 14:03 ` van.de.bugger at gmail dot com [this message]
2016-01-17 15:57   ` Egmont Koblinger
2016-01-17 14:39 ` piotrdrag at gmail dot com
2016-01-17 19:48 ` piotrdrag at gmail dot com
2016-01-17 19:48 ` van.de.bugger at gmail dot com
2016-01-17 22:42 ` van.de.bugger at gmail dot com
2016-01-18  1:31 ` kon at iki dot fi
2016-01-19  1:30 ` van.de.bugger at gmail dot com
2016-01-20  7:13 ` kon at iki dot fi
2016-01-20  8:02 ` kon at iki dot fi
2016-01-21 23:16 ` digitalfreak at lingonborough dot com
2016-01-23  7:27 ` kon at iki dot fi
2016-01-27 23:18 ` digitalfreak at lingonborough dot com
2016-01-31 10:51 ` samos-project at meta dot ua
2016-03-03 14:06 ` piotrdrag at gmail dot com
2016-03-04 22:33 ` digitalfreak at lingonborough dot com
2016-03-24 11:15 ` digitalfreak at lingonborough dot com
2016-03-24 11:17 ` digitalfreak at lingonborough dot com
2016-03-24 11:23 ` digitalfreak at lingonborough dot com
2016-03-24 11:24 ` digitalfreak at lingonborough dot com
2016-03-24 11:26 ` digitalfreak at lingonborough dot com
2016-03-24 11:26 ` digitalfreak at lingonborough dot com
2016-04-18  5:44 ` vapier at gentoo dot org
2016-08-24 10:37 ` piotrdrag at gmail dot com
2016-08-28 23:48 ` digitalfreak at lingonborough dot com
2016-10-18  0:31 ` digitalfreak at lingonborough dot com
2016-10-18  0:31 ` digitalfreak at lingonborough dot com
2016-10-18  0:31 ` digitalfreak at lingonborough dot com
2016-10-18  0:31 ` digitalfreak at lingonborough dot com
2016-10-18  0:32 ` digitalfreak at lingonborough dot com
2016-10-18  0:32 ` digitalfreak at lingonborough dot com
2016-10-18  0:32 ` digitalfreak at lingonborough dot com
2016-10-18  0:32 ` digitalfreak at lingonborough dot com
2016-10-18  0:32 ` joseph at codesourcery dot com
2016-10-18  0:33 ` digitalfreak at lingonborough dot com
2016-10-18  0:33 ` digitalfreak at lingonborough dot com
2016-10-18  0:33 ` digitalfreak at lingonborough dot com
2016-10-28  0:10 ` digitalfreak at lingonborough dot com
2016-10-28  0:10 ` digitalfreak at lingonborough dot com
2016-10-28  0:10 ` digitalfreak at lingonborough dot com
2016-10-28  0:10 ` digitalfreak at lingonborough dot com
2016-10-28  0:10 ` digitalfreak at lingonborough dot com
2016-12-22 23:06 ` digitalfreak at lingonborough dot com
2016-12-22 23:10 ` digitalfreak at lingonborough dot com
2016-12-22 23:34 ` digitalfreak at lingonborough dot com
2016-12-22 23:34 ` digitalfreak at lingonborough dot com
2016-12-22 23:34 ` digitalfreak at lingonborough dot com
2016-12-22 23:34 ` digitalfreak at lingonborough dot com
2016-12-22 23:34 ` digitalfreak at lingonborough dot com
2016-12-22 23:34 ` digitalfreak at lingonborough dot com
2016-12-22 23:34 ` digitalfreak at lingonborough dot com
2016-12-22 23:34 ` digitalfreak at lingonborough dot com
2016-12-22 23:35 ` digitalfreak at lingonborough dot com
2016-12-22 23:35 ` digitalfreak at lingonborough dot com
2016-12-22 23:40 ` digitalfreak at lingonborough dot com
2017-03-20  8:48 ` digitalfreak at lingonborough dot com
2017-03-20  8:51 ` digitalfreak at lingonborough dot com
2017-03-20  8:58 ` digitalfreak at lingonborough dot com
2017-03-20  9:02 ` digitalfreak at lingonborough dot com
2017-03-20  9:11   ` Keld Simonsen
2017-03-20  9:05 ` digitalfreak at lingonborough dot com
2017-03-20  9:14 ` digitalfreak at lingonborough dot com
2017-03-20  9:14 ` keld at keldix dot com
2017-03-20 10:39 ` digitalfreak at lingonborough dot com
2017-03-20 10:40 ` digitalfreak at lingonborough dot com
2017-03-20 10:40 ` digitalfreak at lingonborough dot com
2017-03-20 10:40 ` digitalfreak at lingonborough dot com
2017-03-20 10:40 ` digitalfreak at lingonborough dot com
2017-03-20 10:40 ` digitalfreak at lingonborough dot com
2017-03-20 10:41 ` digitalfreak at lingonborough dot com
2017-04-12  8:15 ` fweimer at redhat dot com
2017-05-23 23:35 ` digitalfreak at lingonborough dot com
2017-05-23 23:35 ` digitalfreak at lingonborough dot com
2017-05-23 23:35 ` digitalfreak at lingonborough dot com
2017-06-28  0:59 ` digitalfreak at lingonborough dot com
2017-06-28  0:59 ` digitalfreak at lingonborough dot com
2017-06-28  1:00 ` digitalfreak at lingonborough dot com
2017-06-28  1:00 ` digitalfreak at lingonborough dot com
2017-06-28  1:00 ` digitalfreak at lingonborough dot com
2017-06-28  1:00 ` digitalfreak at lingonborough dot com
2017-06-28  1:00 ` digitalfreak at lingonborough dot com
2017-09-19 10:10 ` digitalfreak at lingonborough dot com
2017-09-19 10:13 ` digitalfreak at lingonborough dot com
2017-09-19 10:18 ` digitalfreak at lingonborough dot com
2017-09-19 10:19 ` digitalfreak at lingonborough dot com
2017-09-19 10:20 ` digitalfreak at lingonborough dot com
2017-09-19 10:23 ` digitalfreak at lingonborough dot com
2017-09-22 12:01 ` digitalfreak at lingonborough dot com
2017-11-16  1:49 ` digitalfreak at lingonborough dot com
2017-11-16  1:52 ` digitalfreak at lingonborough dot com
2017-11-16  1:53 ` digitalfreak at lingonborough dot com
2017-11-16  1:55 ` digitalfreak at lingonborough dot com
2017-11-16  2:01 ` digitalfreak at lingonborough dot com
2017-11-16  2:03 ` digitalfreak at lingonborough dot com
2017-11-16  2:04 ` digitalfreak at lingonborough dot com
2017-11-16  2:05 ` digitalfreak at lingonborough dot com
2017-11-16  2:06 ` digitalfreak at lingonborough dot com
2017-11-16  2:08 ` digitalfreak at lingonborough dot com
2017-11-16  2:09 ` digitalfreak at lingonborough dot com
2017-12-06  1:08 ` [Bug locale/10871] " digitalfreak at lingonborough dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-10871-716-gGdWXEG65R@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libc-locales@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).