Discussion:
Bug#1076089: #1076089 Langage in installed system is English
(too old to reply)
Holger Wansing
2024-10-05 18:50:01 UTC
Permalink
[ Adding locales people to the loop ]

Hi,
I added the boot parameter "locale=de_DE.UTF-8".
But, the installed system is in English.
Attached, there are the installer-logs.
I did some test installations, and I can confirm there is an issue with this:

After a fresh testing|trixie install from yesterday's daily netinst image,
/etc/locale.conf and /etc/default/locale are effectively empty (they only
contain a comment "File generated by update-locale", but not more) and
the environment variable LANG is empty.


If I execute "dpkg-reconfigure locales" then, I get the dialog to choose
which locales to generate. The entry "de_DE.UTF8 UTF8" is already selected,
which is correct from above installation. When I then proceed without
any change (just select OK), I get the dialog to choose the system locale,
with the option to choose one of "None" or "C.UTF-8" or "de_DE.UTF-8".
I then choose "de_DE.UTF-8" and everything is fine after that:

/etc/default/locale has "LANG=de_DE.UTF-8"
/etc/locale.conf has the same content.

So, it seems that the locales package remains unconfigured during
installation, despite the installer log says:

Setting up locales (2.40-2) ...
Generating locales (this might take a while) ...
Generation complete.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055353
That bug mentions, that /etc/default/locale was retired recently.
Is that correct?
Was /etc/locale.conf introduced to supersede /etc/default/locale ?
If that is the case: is it correct, that /etc/default/locale is still
processed by update-locale (as indicated by the comment included in that
file in latest test installation)?


BTW, there is already another bugreport which seems to go down to the same
issue:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058884



Holger
--
Holger Wansing <***@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
Aurelien Jarno
2024-10-05 20:40:01 UTC
Permalink
Hi,
Post by Holger Wansing
[ Adding locales people to the loop ]
Hi,
I added the boot parameter "locale=de_DE.UTF-8".
But, the installed system is in English.
Attached, there are the installer-logs.
After a fresh testing|trixie install from yesterday's daily netinst image,
/etc/locale.conf and /etc/default/locale are effectively empty (they only
contain a comment "File generated by update-locale", but not more) and
the environment variable LANG is empty.
If I execute "dpkg-reconfigure locales" then, I get the dialog to choose
which locales to generate. The entry "de_DE.UTF8 UTF8" is already selected,
which is correct from above installation. When I then proceed without
any change (just select OK), I get the dialog to choose the system locale,
with the option to choose one of "None" or "C.UTF-8" or "de_DE.UTF-8".
/etc/default/locale has "LANG=de_DE.UTF-8"
/etc/locale.conf has the same content.
So, it seems that the locales package remains unconfigured during
Setting up locales (2.40-2) ...
Generating locales (this might take a while) ...
Generation complete.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055353
That bug mentions, that /etc/default/locale was retired recently.
Is that correct?
Was /etc/locale.conf introduced to supersede /etc/default/locale ?
/etc/locale.conf is the systemd way to configure the locales, while
/etc/default/locale is the original Debian way. Therefore newer versions
of the locales package just make /etc/default/locale a symlink to
/etc/locale.conf. See #1038798 for the details.
Post by Holger Wansing
If that is the case: is it correct, that /etc/default/locale is still
processed by update-locale (as indicated by the comment included in that
file in latest test installation)?
update-locale has been changed to only look at /etc/locale.conf. But
it's normal that both files have the same content as one is just the
symlink of the other.
Post by Holger Wansing
BTW, there is already another bugreport which seems to go down to the same
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058884
It might just be that localechooser has to be updated to use
/etc/locale.conf directly.

Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
***@aurel32.net http://aurel32.net
Holger Wansing
2024-10-06 12:00:02 UTC
Permalink
Control: tags 1076089 + pending
Control: tags 1058884 + pending
Post by Aurelien Jarno
It might just be that localechooser has to be updated to use
/etc/locale.conf directly.
Just changed in git, thanks.

Holger
--
Sent from /e/ OS on Fairphone3
Debian Bug Tracking System
2024-10-06 12:00:02 UTC
Permalink
Post by Holger Wansing
tags 1076089 + pending
Bug #1076089 [installation-reports] Langage in installed system is English
Added tag(s) pending.
Post by Holger Wansing
tags 1058884 + pending
Bug #1058884 [installation-reports] installation-reports: debian testing iso install in franch: Light-DM and mate desktop are in English
Added tag(s) pending.
--
1058884: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058884
1076089: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076089
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...