Bug 463165 - Installation language not present in list of available languages in Regional Settings
Summary: Installation language not present in list of available languages in Regional ...
Status: RESOLVED DUPLICATE of bug 462168
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (other bugs)
Version First Reported In: 5.26.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-17 18:56 UTC by Gudmundur
Modified: 2023-01-05 20:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gudmundur 2022-12-17 18:56:17 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When changing the interface language in Regional Settings from the language chosen at installation to another language, it's impossible to change it back, as the installation language is not present on the list of languages. It's possible to recover the installation language by changing '.config/plasma-localerc', but resulted in odd behaviour (dead keys stopped working, etc.). The only fix found by this user was to delete '.config/plasma-localerc' and restart Plasma. (This was tried on an installation of Kubuntu 22.10, with latest Plasma from backports. The language chosen when installing was Icelandic. I changed the interface language to 'American English' to compare language elements, but Icelandic was not present on the list of languages when I wanted to change it back)

STEPS TO REPRODUCE
1. Open System Settings
2. Select Regional Settings > Region & Language
3. In the entry 'Language', click the 'Modify' button
4. In the 'Language' view, click 'Change Language' and choose a different language from the list
5. Click 'Apply', log out and log in again
6. Repeat the steps above. In step 4., after clicking 'Change Language' the original language should be available on the language list, but it is missing

OBSERVED RESULT
After changing the language from the original installation language to another language, it is not possible to change it back to the original language, as it is not present on the language list

EXPECTED RESULT
Original installation language present on the language list, and should be no problem in changing back and forth.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.10
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
This comes up when the installation language is Icelandic.
Comment 1 hanyoung 2022-12-18 01:16:57 UTC
Because Icelandic is not supported by Plasma. We have no translations for Icelandic.
Comment 2 Gudmundur 2022-12-20 12:56:44 UTC
That's not correct. Icelandic has been a part of KDE since the late 90's, and the language package is a part of the distribution (see here: https://l10n.kde.org/stats/gui/stable-kf5/team/is/). There has not been much work done in the recent years, but we've started work to update it now.
Comment 3 hanyoung 2022-12-20 13:01:28 UTC
KLocalizedString::availableDomainTranslations("plasmashell")

maybe it's not available in plasmashell?
Comment 4 Gudmundur 2022-12-20 16:43:12 UTC
Yeah, that seems likely (seems to apply to more languages: https://www.mail-archive.com/kde-bugs-dist@kde.org/msg748690.html*). I know I should RTFM, but I can't find info on how to include it. Are there particular rules that apply when a language is included (like a minimum percentage translated, etc.)?

*I honestly did a search in the database for similar instances to mine, but apparently not well enough, as the entry above should have popped up :-)
Comment 5 Nate Graham 2023-01-05 20:13:13 UTC

*** This bug has been marked as a duplicate of bug 462168 ***