From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34763 invoked by alias); 27 Sep 2019 22:49:25 -0000 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org Received: (qmail 34695 invoked by uid 89); 27 Sep 2019 22:49:24 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.1 spammy=H*r:sk:bug-gli, letter X-HELO: eggs.gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lingonborough.com; s=1568761524.internal; t=1569624555; bh=FZsP//pLuStZa2iVeBj/rsHuVQIS+0RUl2nPOUy7RpE=; h=Date:From:To:In-Reply-To:References:Subject; b=mdGLZWqlhXzJge8A4nED4UKOZP+BZWhXti/urCxowei8vvww2f1wJ2dJB40NahTTj CfEfGiWPjRGOkDQhUDAcSOCI5P3wNc9CTyjvvgty/o6SF4JJa+NyBxXmuDG1E/MeoW oo1QtHCtXxZnAzbH1qidA7/pwW7Ecf/uLBMgA8jLGc2nYwMgI5w4m0eh8VGFMR0vBg LO9n8gJv3sp50Hgwz/pnIej/DR7CDtc/q2EibIyiw1OPuUKGS0z5nhShs8EDF0uH+C olctlS3LfG7XZGZOwiMaMpHaIP6Qc2kf/MPpqsQ+/IdcU/oPU7WLO0r/BF9qTWac6o PNsm6P9B6+nTg== Date: Fri, 27 Sep 2019 22:49:00 -0000 From: Rafal Luzynski To: Mikhail Gribanov , libc-alpha@sourceware.org, bug-glibc-locales@gnu.org Message-ID: <1260007467.786529.1569624500330@poczta.nazwa.pl> In-Reply-To: References: Subject: Re: Incorrect days of the week in ru_UA locale MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 85.128.223.163 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-SW-Source: 2019-q3/txt/msg00055.txt.bz2 27.09.2019 17:24 Mikhail Gribanov wrote: >=20 > Hi, sorry if I wrote the wrong way, I did not find who to contact to > fix this problem. Bugzilla [1] seems to be the best place but here it is equally good. After all, your voice is being heard. > Preamble: Many linux distributions use the wrong day of the week in > ru_UA locale and close my bug reports because of "out of scope". After > some searching I managed to find out that localization is taken from > glibc. I hope you can help me (or send to the right place). Correct. > Problem: In ru_UA locale for days of the week the abbreviation with > three letters is used, which is incorrect: "=D0=9F=D0=BD=D0=B4", "=D0=92= =D1=82=D0=BE", "=D0=A1=D1=80=D0=B4"... >=20 > Solution/Fix: Use two-letter abbreviations:"=D0=9F=D0=BD", "=D0=92=D1=82"= , "=D0=A1=D1=80", "=D0=A7=D1=82", > "=D0=9F=D1=82", "=D0=A1=D0=B1", "=D0=92=D1=81". You can also just copy da= ys of the week from ru_RU > locale where are they represented correctly. >=20 > Thank you for your time. Thank you for spotting a reporting the problem. Indeed, ru_RU provides two-letter abbreviations as you quoted while CLDR [2] provides the same but says they should start with lowercase letters. But the lowercase/uppercase issue is always controversial in the languages where names of weekdays and months do not start with an uppercase letter by default and no solution is perfect so I assume that it's better to leave it uppercase, as it is now. When you said "copy days of the week from ru_RU" probably you meant literally copy and paste, but given that there are almost no differences in LC_TIME between ru_RU and ru_UA we can also use =E2=80=9Ccopy "ru_RU"=E2= =80=9D in LC_TIME in ru_UA. Please note that it is impossible to copy part of the section and impossible to modify it, either copy whole section as it is or keep two separate copies. There is only one other difference between ru_RU and ru_UK: in ru_RU ab_alt_mon (abbreviated month names in nominative case) begin with a lowercase letter while in ru_UK they begin with an uppercase. Is it OK to unify them? Uppercase looks better for me in this case, OK to make it uppercase, that is copy ab_alt_mon from ru_UK to ru_RU? If you are curious where to see ab_alt_mon in real applications the answer is: in calendar headers (if they are abbreviated). Never in full date formats. Regards, Rafal [1] https://sourceware.org/bugzilla/enter_bug.cgi?product=3Dglibc [2] https://st.unicode.org/cldr-apps/v#/ru/Gregorian/