this post was submitted on 30 May 2024
16 points (94.4% liked)

KDE

5375 readers
219 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

In the Region & Language section of the System Settings, when choosing formats, a list of locales is displayed.

The entries of this list are similar to those in the system (e.g. /usr/share/i18n/supported in Debian) but not identical.

E.g. en_DK.UTF-8 is present in the system but absent from the Plasma locale list; en_SE.UTF-8 is present in the Plasma list, but absent from the system.

Why does Plasma use a separate list of locales?

Where is the Plasma locale list located in the file system?

Is it possible to add a locale absent in Plasma from the system to Plasma?

top 6 comments
sorted by: hot top controversial new old
[–] sxan@midwest.social 6 points 5 months ago

Maybe because not every system is Debian, and Plasma has to work on systems that either don't have /usr/share/i18n/supported or put is somewhere else?

I manage a project that encounters this sort of thing regularly; my biggest problem is terminfo entries. Not all distributions contain all of the same terminfos. It is one of the biggest source of bug reports my project gets. I've been considering just embedding all of the terminfos in my project, just so I know they'll all be there on every system it's installed.

I don't know this is Plasma's reason for including their own list, but it could easily be. It could also be because those are the locales Plasma supports, and it may not support every locale that might be in the distro system list.

[–] eager_eagle@lemmy.world 3 points 5 months ago* (last edited 5 months ago) (1 children)

fwiw here's the en_SE locale source I use

http://www.stacken.kth.se/~auno/en_SE

as /usr/share/i18n/locales/en_SE

so yes, you can add them

[–] formicant@lemmy.kde.social 1 points 5 months ago (1 children)

fwiw here’s the en_SE locale source I use http://www.stacken.kth.se/~auno/en_SE as /usr/share/i18n/locales/en_SE so yes, you can add them

This is adding a KDE layout into the system.

Can I add a system layout into KDE?

[–] eager_eagle@lemmy.world 1 points 5 months ago* (last edited 5 months ago) (1 children)

I don't know what you mean by that. It's a locale, it has nothing to do with KDE or Plasma. It doesn't even need a desktop environment. Plasma Settings will just pick up the ones you have installed.

[–] formicant@lemmy.kde.social 1 points 5 months ago* (last edited 5 months ago) (1 children)

I don’t know what you mean by that. It’s a locale, it has nothing to do with KDE or Plasma. It doesn’t even need a desktop environment. Plasma Settings will just pick up the ones you have installed.

I used to think so too.

However, Plasma apparently has its own list of locales not identical to the system one. (See the first post)

[–] eager_eagle@lemmy.world 1 points 5 months ago* (last edited 5 months ago)

I can see both en_DK and en_SE

did you run locale-gen after adding it?