Bug 420208 - Cannot add any languages in kcm_translations
Summary: Cannot add any languages in kcm_translations
Status: RESOLVED DUPLICATE of bug 419691
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_language (show other bugs)
Version: 5.18.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-17 17:44 UTC by Ilya Bizyaev
Modified: 2020-04-17 20:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***