Some locales are set to de_BE.UTF-8 when choosing Country 'Belgium' and language 'US English'

Bug #1334675 reported by Alvin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libkubuntu (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The installer chooses wrong locale settings. (I don't know if this situation is specific to choosing Belgium as country)

Output of 'locale' after logging in for the first time:
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_BE.UTF-8
LC_TIME=de_BE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_BE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_BE.UTF-8
LC_NAME=de_BE.UTF-8
LC_ADDRESS=de_BE.UTF-8
LC_TELEPHONE=de_BE.UTF-8
LC_MEASUREMENT=de_BE.UTF-8
LC_IDENTIFICATION=de_BE.UTF-8
LC_ALL=

The expectation was that all locales would have been en_US.UTF-8

Revision history for this message
Harald Sitter (apachelogger) wrote :

kreadconfig --file kdeglobals --group Locale --key Language
kreadconfig --file kdeglobals --group Locale --key Country

also please run kdebudialog, enable everything, run systemsettings from a terminal, twiddle the settings and apply and paste output from terminal

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libkubuntu (Ubuntu):
status: New → Confirmed
Revision history for this message
Joost Ringoot (joost) wrote :

I have a similar issue when choosing UK English as locale and Belgium as country:
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=de_BE.UTF-8
LC_TIME=de_BE.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY=de_BE.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=de_BE.UTF-8
LC_NAME=de_BE.UTF-8
LC_ADDRESS=de_BE.UTF-8
LC_TELEPHONE=de_BE.UTF-8
LC_MEASUREMENT=de_BE.UTF-8
LC_IDENTIFICATION=de_BE.UTF-8
LC_ALL=

Harald Sitter, I did what you suggested, and got this:

: # kreadconfig --file kdeglobals --group Locale --key Language
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.2.44

: # kreadconfig --file kdeglobals --group Locale --key Country
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.2.44

: # kdebudialog
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.2.44

Revision history for this message
Joost Ringoot (joost) wrote :

IMHO, the best workaround is this:
cp /etc/default/locale /etc/default/locale_orig && locale > /etc/default/locale
then "vim /etc/default/locale"
in the command mode (type ESC twice to be sure), type this (you should see the command at the bottom of the screen:

:%s/de_BE.UTF-8/en_US.UTF-8/g

Then hit enter (not too hard!)
This will replace all instances of de_BE.UTF-8 by en_US.UTF-8
Adapt as you like, YMMV

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.