Dutch NL Locale sets everything to English

Bug #746662 reported by Damiön la Bagh
This bug report is a duplicate of:  Bug #746694: GDM_LANG overrides my locales. Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
language-support-nl (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: language-support-nl

After a regular update both my desktop and laptop locales for nl_NL.UTF-8 are messed up and tabbing on the command line is a mess.
All my menu's are in English instead of Dutch.
I get these kinds of messages when I double tab to complete the filename
bash: warning: setlocale: LC_CTYPE: cannot change locale (nl)
And the system keeps asking if it can change all my folders to English. Not cool!

I've done a full reinstall of the packages
language-support-nl
language-pack-nl
language-pack-nl-base

done a dpkg-reconfigure locales

rebooted the system several times

reinstalled Dutch from the Languages settings under System... Languages

As this is happening on two different machines after the same update I think it's a bug.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: language-support-nl 1:9.10+20090909
ProcVersionSignature: Ubuntu 2.6.32-31.60-generic 2.6.32.32+drm33.14
Uname: Linux 2.6.32-31-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Mar 31 21:18:09 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=nl:en
 LANG=nl
 LC_MESSAGES=nl_NL.UTF-8
 SHELL=/bin/bash
SourcePackage: language-support-nl

Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :
Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

I realized afterwards that my title is not descriptive enough... maybe the title should be the error message instead. I don't know how to change the title of a bug in Launchpad.

Cannot set LC_CTYPE to default locale: No such file or directory

Revision history for this message
Eimann (eimann) wrote :

I'm seeing a similar problem, though with another locale.
Curses-applications, UTF-8 charaters in Terminal, etc. are all messed up.

> locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US
LANGUAGE=en_US:en
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

> sudo dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = "en_US:en",
 LC_ALL = (unset),
 LC_MESSAGES = "en_US.UTF-8",
 LC_CTYPE = "en_US.UTF-8",
 LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...
  de_AT.UTF-8... up-to-date
  de_BE.UTF-8... up-to-date
  de_CH.UTF-8... up-to-date
  de_DE.UTF-8... up-to-date
  de_LI.UTF-8... up-to-date
  de_LU.UTF-8... up-to-date
  en_AG.UTF-8... up-to-date
  en_AU.UTF-8... up-to-date
  en_BW.UTF-8... up-to-date
  en_CA.UTF-8... up-to-date
  en_DK.UTF-8... up-to-date
  en_GB.UTF-8... up-to-date
  en_HK.UTF-8... up-to-date
  en_IE.UTF-8... up-to-date
  en_IN.UTF-8... up-to-date
  en_NG.UTF-8... up-to-date
  en_NZ.UTF-8... up-to-date
  en_PH.UTF-8... up-to-date
  en_SG.UTF-8... up-to-date
  en_US.UTF-8... up-to-date
  en_ZA.UTF-8... up-to-date
  en_ZW.UTF-8... up-to-date
  ko_KR.UTF-8... up-to-date
Generation complete.

Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

I just got in a report that this is also happening in Maverick as well as Lucid so it's an update that happened to both versions.

Revision history for this message
Eimann (eimann) wrote :

> apt-cache policy language-support-en
language-support-en:
  Installed: 1:9.10+20090909
  Candidate: 1:9.10+20090909
  Version table:
 *** 1:9.10+20090909 0
        500 http://nl.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"

tags: added: maverick x86
Revision history for this message
Eimann (eimann) wrote :
Download full text (3.3 KiB)

> dpkg -l|egrep 'language-[s,p]'
ii language-pack-de 1:10.10+20101204 translation updates for language German
ii language-pack-de-base 1:10.10+20100930 translations for language German
ii language-pack-en 1:10.10+20101204 translation updates for language English
ii language-pack-en-base 1:10.10+20100930 translations for language English
ii language-pack-gnome-de 1:10.10+20101204 GNOME translation updates for language German
ii language-pack-gnome-de-base 1:10.10+20100930 GNOME translations for language German
ii language-pack-gnome-en 1:10.10+20101204 GNOME translation updates for language English
ii language-pack-gnome-en-base 1:10.10+20100930 GNOME translations for language English
ii language-pack-gnome-ko 1:10.10+20101204 GNOME translation updates for language Korean
ii language-pack-gnome-ko-base 1:10.10+20100930 GNOME translations for language Korean
rc language-pack-gnome-nds-base 1:10.10+20100930 GNOME translations for language Geman, Low
ii language-pack-ko 1:10.10+20101204 translation updates for language Korean
ii language-pack-ko-base 1:10.10+20100930 translations for language Korean
rc language-pack-nds-base 1:10.10+20100930 translations for language Geman, Low
ii language-selector 0.6.6+langfixes~maverick1 Language selector for Ubuntu Linux
ii language-selector-common 0.6.6+langfixes~maverick1 Language selector for Ubuntu Linux
ii language-support-en 1:9.10+20090909 metapackage for English language support
ii language-support-fonts-ko 1:9.10+20090909 Additional fonts metapackage for Korean
ii language-support-input-ko 1:9.10+20090909 Input methods metapackage for Korean
ii language-support-writing-de 1:10.04+20100311 Writing aids metapackage for German
ii l...

Read more...

Revision history for this message
Patrick Then (patrickthen) wrote :

Same here for german localization on 10.10 64bit.
Before reading about the bug I also tried installing a different language pack (italian), which didn't help.

Revision history for this message
vagrale (vagrale) wrote :

Same problem with Greek.
See for more info here https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/746694

Try to logout and select the other language system of the panel, must be two now with your language.
Loggin and must be ok!

Revision history for this message
Eimann (eimann) wrote :

Thanks vagrale. After updating + logout/login it works again.

Changed in language-support-nl (Ubuntu):
status: New → Invalid
Revision history for this message
Patrick Then (patrickthen) wrote :

Seems it got fixed by the recent update of GDM, thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.