unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 54223@debbugs.gnu.org
Subject: [bug#54223] [PATCH] (guix-data-service) Add nl_NL.UTF-8 locale
Date: Wed, 02 Mar 2022 21:19:49 +0000	[thread overview]
Message-ID: <87ee3kaw40.fsf@cbaines.net> (raw)
In-Reply-To: <16306441681c2104f06fb924beddbd5f34fcb136.camel@telenet.be>

[-- Attachment #1: Type: text/plain, Size: 1472 bytes --]


Maxime Devos <maximedevos@telenet.be> writes:

> The nl_NL.UTF-8 translation (*) are currently almost 100%.
> How about adding the nl_NL.UTF-8 locale?  I sent a patch
> doing this to guix-devel as suggested in the README, but
> it seems to have been lost (see
> https://lists.gnu.org/r/guix-devel/2021-08/msg00132.html).
>
> (*) at least for the "guix" domain, the packages aren't translated much
> yet.
>
> Perhaps the locale list needs to be modified in other
> places as well (maybe
> <https://git.savannah.gnu.org/cgit/guix/data-service.git/tree/guix-data-service/jobs/load-new-guix-revision.scm?id=3a9079856742b4d97bc434837323ff02eb9d32c3#n422>?).

Hey Maxime,

Your email last year did reach me, but obviously I overlooked it.

I've gone ahead and pushed your patch as
8ab72e633ae700fe58bb3bf72aa155d62c2bc22e, I'll deploy it to
data.guix.gnu.org within the next few days.

Note that the Guix Data Service only stores translated strings for lint
warnings, and package synopsis+descriptions, and that the storage
happens when a revision is processed, so this change will only have an
effect for revisions processed after it's made.

I tweaked the commit message slightly, and I also added nl_NL to the
second list of locales you spotted.

Ideally, the data service would get the list of locales from Guix
somehow, I'm not sure if that information is available, or quite how to
make it available, but these hardcoded locale lists are a bit of a hack.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

  reply	other threads:[~2022-03-02 21:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 19:46 [bug#54223] [PATCH] (guix-data-service) Add nl_NL.UTF-8 locale Maxime Devos
2022-03-02 21:19 ` Christopher Baines [this message]
2022-03-02 21:34   ` Maxime Devos
2022-04-09 21:03   ` Maxime Devos

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=87ee3kaw40.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=54223@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /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).