Bug 394915

Summary: error adding default language
Product: [Applications] systemsettings Reporter: Vadym Krevs <vkrevs>
Component: kcm_languageAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: fabian, nate, vkrevs
Priority: NOR    
Version: 5.12.90   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.23
Attachments: error screenshot

Description Vadym Krevs 2018-06-01 08:55:46 UTC
Created attachment 112993 [details]
error screenshot

openSUSE Leap 15.0

Go to System Settings->Regional Settings->Language. It displays "There are currently no preferred languages configured".

Click on Add Languages, select British English, click Add

This results in "The translanslation files for the language with code '%2' could not be found. ..." - see attached screenshot.
Comment 1 Vadym Krevs 2018-06-01 08:56:56 UTC
$ rpm -qa |  grep en_GB
kde-l10n-en_GB-17.08.3-lp150.130.1.noarch
translation-update-en_GB-15.0-lp150.2.1.noarch
gimp-help-en_GB-2.8.2-lp150.1.4.noarch
myspell-en_GB-20171218-lp150.1.3.noarch
kde-l10n-en_GB-doc-17.08.3-lp150.130.1.noarch
yast2-trans-en_GB-84.87.20180514.157a0650d-lp150.1.1.noarch
kde-l10n-en_GB-data-17.08.3-lp150.130.1.noarch

$ rpm -qf `which systemsettings5`
systemsettings5-5.12.90-lp150.177.2.x86_64
Comment 2 Christoph Feck 2018-06-21 01:33:01 UTC
I think there were some changes with translation files in openSUSE (no longer using a single package per language, but for each application separately).
Comment 3 Fabian Vogt 2018-06-21 11:03:35 UTC
This happens because systemsettings translations are not available.
This is because of:

(In reply to Christoph Feck from comment #2)
> I think there were some changes with translation files in openSUSE (no
> longer using a single package per language, but for each application
> separately).

which now means that systemsettings5-lang is required for this to behave properly. The git repos don't contain translations though so it's not available in the right version.

IMO this is a bug in the KCM though, it should not require that a systemsettings translation is available for a language to be selectable.
Comment 4 Eike Hein 2018-06-21 11:14:37 UTC
I agree with Fabian. This also matters for PlaMo, which wants to use the KCM and doesn't have SysSe translations. We need to find a different way to enumerate translations.
Comment 5 Nate Graham 2021-09-30 19:06:29 UTC
I think we fixed this recently; can any openSUSE users test with Plasma 5.22 or the 5.23 beta?
Comment 6 Vadym Krevs 2021-09-30 19:22:20 UTC
I confirm this works for me in plasma 5.22.9 on openSUSE 15.3.
Comment 7 Nate Graham 2021-09-30 19:59:06 UTC
Yay! Thanks for checking.