From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HK_RANDOM_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 21142 invoked from network); 27 Oct 2023 20:15:20 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 27 Oct 2023 20:15:20 -0000 Received: (qmail 18365 invoked by uid 550); 27 Oct 2023 20:15:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 18327 invoked from network); 27 Oct 2023 20:15:15 -0000 Message-ID: <2d066e446ec5e7a7005e745de53b8ac4e539ecd2.camel@postmarketos.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1698437703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XFquqURL+Fi2hYycUu/H+cwj6JqSWjDnnRsE/V+6fY4=; b=qeixHKSl0dtmMUU5mBp6WoQ8pwEoMxtFrJkikh5ubgSEXricGXgIaUgxDONGVVh6zZh++u fIZE4AHui0EiAADzMWcx3kMuCFp8mjmnB0nE07v9VOBWsspsu6QJqfhacxfiBmUIy04BCI zsHUA+pvuXePp11fuRe/6n5YVwzS9aY= From: Pablo Correa Gomez To: Alastair Houghton Cc: musl@lists.openwall.com, Rich Felker Date: Fri, 27 Oct 2023 22:15:01 +0200 In-Reply-To: <3DD8D02A-0802-494E-B9E8-F00B457B86F6@apple.com> References: <3DD8D02A-0802-494E-B9E8-F00B457B86F6@apple.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [musl] setlocale() again Hi Alastair, I'm Pablo, one of postmarketOS maintainers, and by chance bumped into this thread. I am super happy that you sent these messages, since I am in the process of adding support for musl into Glib test suite, and bumped into exactly the same problem as you did. >From the developer perspective, I really like your proposal. However, from the user and distro maintainer perspective, I am a bit more hesitant. As daily user of an alpine system localized in Spanish, I acknowledge and identify the problem that you present of "1,024" vs "1.024". However, I would argue that such thing is a small problem, compared to completely losing localization in Spanish. In practice, I would say both these examples are only theoric, since both Spanish and French are supported musl-locales.=C2=A0 So my real concern, is what could happen to all those users of languages not supported by musl locales and that currently (to some extent) have their systems localized? We did a call some months ago for users with a use in localization to communicate with us to help us forward and validate possible changes in musl. Unfortunately we only really had one to two users show up, so possibly the breakage would not be that big, considering a big chunk of European languages are currently supported by musl-locales. Do you have any thoughts about this situation? If this change ever happened, we could of course notify users both in alpine and postmarketOS in our release notes. But maybe it would also be helpful if we could have some guidelines or process for users interested in localization to raise the lack of support for their language, and how they can fix it? It's very encouraging to find other people that care about localization. Thanks a lot, and kind regards, Pablo. On lun, 2023-09-18 at 15:18 +0100, Alastair Houghton wrote: > Hi all (Rich especially though :-)) >=20 > Has anyone had time to take a look at this? I=E2=80=99d like to make some > progress on this front if possible. >=20 > Kind regards, >=20 > Alastair. >=20 > > On 5 Sep 2023, at 13:57, Alastair Houghton > > wrote: > >=20 > > On 10 Aug 2023, at 16:51, Rich Felker wrote: > > >=20 > > > On Thu, Aug 10, 2023 at 04:41:38PM +0100, Alastair Houghton > > > wrote: > > > > I spent some time today looking at the setlocale() problem and > > > > thought I=E2=80=99d put some notes down in an email. > >=20 > >=20 > > [snip] > >=20 > > > At this point, it's been quite a while since I looked at the > > > mechanisms. If you'd like to help move this forward, rather than > > > starting with a patch, writing a high-level natural language > > > description of how you'd make the changes (in terms of musl's > > > current > > > internal representation for locale state) would be the most > > > helpful. > > > If I'm forgetting and there's already such a good description, > > > just > > > digging it up and citing it might be fine. > >=20 > >=20 > > I wrote something up here: > >=20 > > https://gist.github.com/al45tair/15c3ade52b09d0cad67074176ad43e4a > >=20 > > Let me know what you think; I can update the document there until > > we=E2=80=99re happy that we=E2=80=99ve got the right solution, then I s= hould be > > able to create a patch and get the relevant permission from my > > employer to submit it. > >=20 > > Kind regards, > >=20 > > Alastair. > >=20 >=20