Bug 420208

Summary: Cannot add any languages in kcm_translations
Product: [Applications] systemsettings Reporter: Ilya Bizyaev <bizyaev>
Component: kcm_languageAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, plasma-bugs
Priority: NOR    
Version: 5.18.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ilya Bizyaev 2020-04-17 17:44:47 UTC
SUMMARY
Selecting a language from the overlay list produces 2 errors in the terminal:
file:///usr/share/kpackage/kcms/kcm_translations/contents/ui/main.qml:39: TypeError: Cannot read property 'LanguageCode' of null
file:///usr/share/kpackage/kcms/kcm_translations/contents/ui/main.qml:43: TypeError: Cannot read property 'display' of null
— and the language does not get added to the list.

STEPS TO REPRODUCE
1. kcmshell5 kcm_translations
2. "Add languages..."
3. Select any language

OBSERVED RESULT
No effect, log errors

EXPECTED RESULT
The selected language gets appended to the list

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.1
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1
Kernel Version: 5.6.0-2.gbf56c5b-default

ADDITIONAL INFORMATION
Don't know if this is related, but in all reports of this bug I've seen so far, the KCM displayed "American English (Default)" as the only language configured, even though the actual UI was in Russian.
Comment 1 Patrick Silva 2020-04-17 20:17:56 UTC

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