Public bug reported:
Ubuntu 26.04 LTS on Dell Latitude 5510.
Language was set to Norwegian Bokmål in Settings → Region & Language and
Language Support. /etc/default/locale was also set to nb_NO.UTF-8.
Still, GNOME menus, top bar date/time and parts of the interface
remained in English.
The cause was ~/.pam_environment containing entries like:
LC_NUMERIC DEFAULT=en
LC_TIME DEFAULT=en
LC_MONETARY DEFAULT=en
LC_PAPER DEFAULT=en
LC_NAME DEFAULT=en
LC_ADDRESS DEFAULT=en
LC_TELEPHONE DEFAULT=en
LC_MEASUREMENT DEFAULT=en
LC_IDENTIFICATION DEFAULT=en
After moving ~/.pam_environment away, the system used the correct
Norwegian locale.
Expected behavior:
Language Support or Region & Language should warn that ~/.pam_environment
overrides the selected language/locale, or offer to update/remove conflicting
user locale entries.
Actual behavior:
The GUI showed Norwegian Bokmål, but the user session stayed partly English
because ~/.pam_environment silently overrode locale settings.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: language-selector-gnome 0.228build1
ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
Uname: Linux 7.0.0-15-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri May 22 11:26:39 2026
InstallationDate: Installed on 2026-05-21 (1 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64
(20240827.1)
PackageArchitecture: all
SourcePackage: language-selector
UpgradeStatus: Upgraded to resolute on 2026-05-22 (0 days ago)
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
** Attachment added: "current_locale.txt"
https://bugs.launchpad.net/bugs/2153988/+attachment/5972518/+files/current_locale.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153988
Title:
Language settings show Norwegian, but user .pam_environment overrides
locale with English defaults
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2153988/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs