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?
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.
fwiw here’s the
en_SE
locale source I usehttp://www.stacken.kth.se/~auno/en_SE
as
/usr/share/i18n/locales/en_SE
so yes, you can add them
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?
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 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)
I can see both
en_DK
anden_SE
did you run
locale-gen
after adding it?