From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uHytIicTC2TVhwAASxT56A (envelope-from ) for ; Fri, 10 Mar 2023 12:23:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WN7PIScTC2TubQAAG6o9tA (envelope-from ) for ; Fri, 10 Mar 2023 12:23:19 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2343012A24 for ; Fri, 10 Mar 2023 12:23:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paaq0-0002cO-HT; Fri, 10 Mar 2023 06:23:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paapz-0002bd-GT for bug-guix@gnu.org; Fri, 10 Mar 2023 06:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paapz-00008r-2y for bug-guix@gnu.org; Fri, 10 Mar 2023 06:23:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paapy-0003kS-JW for bug-guix@gnu.org; Fri, 10 Mar 2023 06:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61965: Commands like "guix system search KEYWORD" don't work with locale it_IT.utf8 Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Mar 2023 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61965 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice , Luigi Salamone , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 61965@debbugs.gnu.org Received: via spool by 61965-submit@debbugs.gnu.org id=B61965.167844732614313 (code B ref 61965); Fri, 10 Mar 2023 11:23:02 +0000 Received: (at 61965) by debbugs.gnu.org; 10 Mar 2023 11:22:06 +0000 Received: from localhost ([127.0.0.1]:53820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paap3-0003im-MK for submit@debbugs.gnu.org; Fri, 10 Mar 2023 06:22:06 -0500 Received: from lepiller.eu ([89.234.186.109]:35148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paaoz-0003iK-9d for 61965@debbugs.gnu.org; Fri, 10 Mar 2023 06:22:04 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 5b78ca87; Fri, 10 Mar 2023 11:21:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=sTV3VnwjtXe/ YAijm4a829dlizVJ++kVmzfc1aljy8g=; b=IABAOPOpBm84bL4Q+nbDNFrLhCF+ 9T+2cpnSjiELXXKnU9zlccgUkptC2e6LueGXYxaWiJVw2tpE3POy2u1uZE3o5WGe qUTTjG0gucEyAf72DiN+vdWVNd8iMcSCWSSzHjJvUaeLisM5CHQLIkDOi2rwCbbZ uxo6zcP5X69vpsJ22QgzudEiY6KdvkqbXekEs+zMQkU0pHPPu9kHXI2FInnEcxt4 +bAu1wSJHJB2yYNhMCT6Q5hw7RmN8MleOIJrlk+1y9uq5GciCWWQD3d/RHcAXm3k J+Bxu1Jb8K61INAQuNtOYqN+F7jQLOvwT82vkX1+uzvOO5oW8HY56j+nuA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 8653a244 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 10 Mar 2023 11:21:57 +0000 (UTC) Date: Fri, 10 Mar 2023 12:21:20 +0100 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: References: <87ilfdfqfy.fsf@gnu.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678447399; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7w6MhAuaMnGr61UcpE0gcMWQOb4y6KwMnfcq+S62lQQ=; b=ikddN7vDqslBa9j/ZnAMfJ5zL2/AgPitmF+st1IGCYQcZfIGo4KxyQbd9GKFG/SUo/O2/I J6hEGQNLA78j0KS7n/ymt1Djil1e7Cv04SpOfPolpzVjnB814IDX7JFuML9RwTyPIHxxZl Qf9PW13G6K5BMxGhWWpsmsP9UJ2wPgomyiJzlwflGBCWP6EkLJ8wRD3gXTimmFUDiH4icP yrBoyEmgcpWrDFjtJ3dwVOGJKlItmA4uoL0PiSKZjdO8RHqlBpfGO0hwQrNl3ltmsvCoW6 3GZNRNVBZZ/34gcQQqa3KttSCm587Yt4Dx6IGicO/vTSac/4RMs/xRkIJokjMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=IABAOPOp; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678447399; a=rsa-sha256; cv=none; b=WaJHBhUT9JABsXUHeTOHzE4Bs3rYk05Zenr9vpoz3ar/iYOTqDBP1WuJyRFB4kUG2uf4jZ FZhQ/i8LQ78Omt+wbDahWPiVA2Kd/+WKgod7WN2TrEsUdERpGeOayeFZHMvwA681gugLBA FVRNulBjylvNlSHTE7C23Mii4COPxPsg49hOMO9jSLtzKB1zvwvEGcWJ9CRi4Rkyj/tBjM XmsDbIkx7wDv3oqK1jm1MRZEHoLUIwsjTHUwJBucPDMBN44dbC8xn/ofhz7exHk8kVeTQi jJ1O/vzgOZO/b8/Qg9Ie9FcVL97XAHcgUZmm++XxK3R4JbjJ/rNoqpYObdwXbQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=IABAOPOp; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) X-Migadu-Spam-Score: 7.31 X-Spam-Score: 7.31 X-Migadu-Queue-Id: 2343012A24 X-Migadu-Scanner: scn1.migadu.com X-TUID: asp3cvz67Osi Gettext already checks issues with format strings, and for the manual, I al= ways try to build it, so I can catch most issues=2E Unfortunately, we don't= have good tools to check texinfo markup in our strings, so this kind of er= ror can stell slip in, I hadn't realized=2E I'll try to contact the translator who did that and see if they have an id= ea how to make the situation better=2E At the very least, I think we should validate strings better before we acc= ept translations, and make warnings more visible=2E Le 10 mars 2023 10:42:24 GMT+01:00, Tobias Geerinckx-Rice = a =C3=A9crit=C2=A0: >> I believe Tobias (Cc=E2=80=99d) fixed this and related issues >> a couple of days ago > >Yep=2E I also fixed a worrying number of @comando, @opzione, etc=2E on W= eblate (both in the 'guix' and 'packages' sets)=2E > >Weblate is pretty unfriendly, so this was tedious and I'm positive there = are some I missed=2E There's a comment warning translators not to do this,= but it's sadly useless since it's tied to *one* package=E2=80=94the odds o= f seeing it are vanishing=2E > >Julien, is there a way to make this warning more prominent/ubiquitous? > >(Also, is there a translation workflow that avoids relying on Weblate or = other clunky tools?) > >Run-time errors appear to be the only QA available for these strings, but= this failure mode is extreme=2E How about explicitly reporting the error = & continuing in English? > >>From what I remember, the code won't be elegant (we append to the transla= tion, then convert Texi, so falling back must be done by the caller or a ne= w combo procedure) but the result would be better=2E > >Kind regards, > >T G-R > >Sent on the go=2E Excuse or enjoy my brevity=2E