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.