unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: "Tobias Geerinckx-Rice" <me@tobias.gr>,
	"Luigi Salamone" <lg.salamone@gmail.com>,
	"Ludovic Courtès" <ludo@gnu.org>
Cc: 61965@debbugs.gnu.org
Subject: bug#61965: Commands like "guix system search KEYWORD" don't work with locale it_IT.utf8
Date: Fri, 10 Mar 2023 12:21:20 +0100	[thread overview]
Message-ID: <EF0DDD11-6649-475E-9EDA-A3B93FD502BE@lepiller.eu> (raw)
In-Reply-To: <E415C683-C2A6-4BA3-A6C9-095417ED9F6A@tobias.gr>

Gettext already checks issues with format strings, and for the manual, I always try to build it, so I can catch most issues. Unfortunately, we don't have good tools to check texinfo markup in our strings, so this kind of error can stell slip in, I hadn't realized.

I'll try to contact the translator who did that and see if they have an idea how to make the situation better.

At the very least, I think we should validate strings better before we accept translations, and make warnings more visible.

Le 10 mars 2023 10:42:24 GMT+01:00, Tobias Geerinckx-Rice <me@tobias.gr> a écrit :
>> I believe Tobias (Cc’d) fixed this and related issues
>> a couple of days ago
>
>Yep.  I also fixed a worrying number of @comando, @opzione, etc. on Weblate (both in the 'guix' and 'packages' sets).
>
>Weblate is pretty unfriendly, so this was tedious and I'm positive there are some I missed.  There's a comment warning translators not to do this, but it's sadly useless since it's tied to *one* package—the odds of seeing it are vanishing.
>
>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.  How about explicitly reporting the error & continuing in English?
>
>From what I remember, the code won't be elegant (we append to the translation, then convert Texi, so falling back must be done by the caller or a new combo procedure) but the result would be better.
>
>Kind regards,
>
>T G-R
>
>Sent on the go.  Excuse or enjoy my brevity.




      reply	other threads:[~2023-03-10 11:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04 15:08 bug#61965: Commands like "guix system search KEYWORD" don't work with locale it_IT.utf8 Luigi Salamone
2023-03-06 22:46 ` Ludovic Courtès
2023-03-07  7:28   ` Julien Lepiller
2023-03-07 20:43   ` Luigi Salamone
2023-03-07 21:27     ` Julien Lepiller
2023-03-10  9:03     ` bug#61965: Incorrect Italian translation of hints Ludovic Courtès
2023-03-10  9:42     ` bug#61965: Commands like "guix system search KEYWORD" don't work with locale it_IT.utf8 Tobias Geerinckx-Rice via Bug reports for GNU Guix
2023-03-10 11:21       ` Julien Lepiller [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=EF0DDD11-6649-475E-9EDA-A3B93FD502BE@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=61965@debbugs.gnu.org \
    --cc=lg.salamone@gmail.com \
    --cc=ludo@gnu.org \
    --cc=me@tobias.gr \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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