guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localization of language names


From: Ludovic Courtès
Subject: Re: Localization of language names
Date: Wed, 21 Oct 2020 15:26:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Miguel Ángel Arruga Vivas <rosen644835@gmail.com> skribis:

> From 69b8d919a802d72fca218b7dfd9e7719c4711544 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?=
>  <rosen644835@gmail.com>
> Date: Fri, 16 Oct 2020 15:02:00 +0200
> Subject: [PATCH] installer: Call setlocale after init gettext.
>
> * gnu/installer.scm (installer-program)[init-gettext]: Change locale
> from C, installed at the program start.
> ---
>  gnu/installer.scm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/installer.scm b/gnu/installer.scm
> index c582a46c14..f401b242f8 100644
> --- a/gnu/installer.scm
> +++ b/gnu/installer.scm
> @@ -308,7 +308,8 @@ selected keymap."
>      ;; translated.
>      #~(begin
>          (bindtextdomain "guix" (string-append #$guix "/share/locale"))
> -        (textdomain "guix")))
> +        (textdomain "guix")
> +        (setlocale LC_ALL "")))

I’ve checked as AFAICS it makes no difference as to the number of
language names translated in the first dialog box.  In fact, the ‘guile’
executable already makes that setlocale(3) early on, so I think it’s
expected that this change has no effect.

Am I missing something?

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]