* [bug#54223] [PATCH] (guix-data-service) Add nl_NL.UTF-8 locale
@ 2022-03-02 19:46 Maxime Devos
2022-03-02 21:19 ` Christopher Baines
0 siblings, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-03-02 19:46 UTC (permalink / raw)
To: 54223; +Cc: mail
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
Hi guix(-data-service),
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>?).
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#54223] [PATCH] (guix-data-service) Add nl_NL.UTF-8 locale
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
2022-03-02 21:34 ` Maxime Devos
2022-04-09 21:03 ` Maxime Devos
0 siblings, 2 replies; 4+ messages in thread
From: Christopher Baines @ 2022-03-02 21:19 UTC (permalink / raw)
To: Maxime Devos; +Cc: 54223
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#54223] [PATCH] (guix-data-service) Add nl_NL.UTF-8 locale
2022-03-02 21:19 ` Christopher Baines
@ 2022-03-02 21:34 ` Maxime Devos
2022-04-09 21:03 ` Maxime Devos
1 sibling, 0 replies; 4+ messages in thread
From: Maxime Devos @ 2022-03-02 21:34 UTC (permalink / raw)
To: Christopher Baines; +Cc: 54223
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
Christopher Baines schreef op wo 02-03-2022 om 21:19 [+0000]:
> 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. [...]
Thanks!
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#54223] [PATCH] (guix-data-service) Add nl_NL.UTF-8 locale
2022-03-02 21:19 ` Christopher Baines
2022-03-02 21:34 ` Maxime Devos
@ 2022-04-09 21:03 ` Maxime Devos
1 sibling, 0 replies; 4+ messages in thread
From: Maxime Devos @ 2022-04-09 21:03 UTC (permalink / raw)
To: Christopher Baines; +Cc: 54223
[-- Attachment #1: Type: text/plain, Size: 771 bytes --]
Christopher Baines schreef op wo 02-03-2022 om 21:19 [+0000]:
> 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.
Suggestion:
scheme@(guix-user)> (bindtextdomain "guix")
$1 = "/gnu/store/2bbmkgk8x4zqr4gjvb92zgji5d7m70gx-guix-1.3.0-23.a27e47f"
user@host:~$ ls /gnu/store/mp8yfgzxs3ww5kj8rpnkn133pmm16jd6-guix-locale-guix
> cs da de eo es fa fi fr hu it ko nl oc pl pt_BR ru si sk sr sv ta uk vi zh_CN
scheme@(guix-user)> (bindtextdomain "guix-packages")
$2 = "/gnu/store/wbljwj8yfpxqgxs79vhxb41s5ypj96xd-guix-locale-guix-packages"
[...]
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-09 21:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-03-02 21:34 ` Maxime Devos
2022-04-09 21:03 ` Maxime Devos
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).