This forum has been archived. All content is frozen. Please use KDE Discuss instead.

System shows no other languages after locale-purge

Tags: None
(comma "," separated)
User avatar
TristanDee
Registered Member
Posts
17
Karma
0
OS
I had set British English system-wide and changed Numbers, Time and Measurement Units in Regional Settings > Formats to en_GB. Then I used locale-purge to remove extra languages that I will never use. Now, the system-wide language has been set to US English although those formats are still in British English.

In Regional Settings, I can't find British English to bring it to top. There's only American English. The Add Language button is also greyed out.

I used sudo dpkg-reconfigure locales and selected en_US.UTF-8 and en_GB.UTF-8 as available locales and set en_GB.UTF-8 as default language, but it didn't bring about any changes. I also noticed that it generated all other English variations although I hadn't selected those.
Image
How can I add British English and set it system-wide?

Thanks in advance.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Maybe the British variant is simply not installed. Each language comes with its own packages, the only ones installed by default (unless chosen otherwise during the installation process) are those for US English I am afraid.
Using current Plasma 5.16.5 here, the add languages button shows and other languages can be installed, maybe an update of your system is needed?
If everything else fails, please file a bug on https://bugs.kde.org


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
TristanDee
Registered Member
Posts
17
Karma
0
OS
Mamarok wrote:Maybe the British variant is simply not installed. Each language comes with its own packages, the only ones installed by default (unless chosen otherwise during the installation process) are those for US English I am afraid.
Using current Plasma 5.16.5 here, the add languages button shows and other languages can be installed, maybe an update of your system is needed?
If everything else fails, please file a bug on https://bugs.kde.org

Thank you Mamarok, for replying.

I installed Neon with default US English settings - to keep the keyboard layout. Then I manually changed those Formats to British English. Everything was fine after that - British English was set system-wide, too. But everything changed after that locale-purge command.

And now there's that "no other language" message and also the Add Language button greyed out. Shouldn't locale-purge have kept languages that are being used by the system?

There have been several updates lately, but that didn't change anything.

Could this really be a bug? In that case, a report is the only thing to do, I guess. I will wait a few more days to see if any solution come up.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
For a start, try to reinstall the locales package first:
Code: Select all
apt-get install --reinstall locales


If this doesn't help, reinstall the following packages:

language-pack-en
language-pack-en-base
language-pack-kde-en


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]