Bug 394915 - error adding default language
Summary: error adding default language
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_language (show other bugs)
Version: 5.12.90
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-01 08:55 UTC by Vadym Krevs
Modified: 2021-09-30 19:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23


Attachments
error screenshot (20.56 KB, image/png)
2018-06-01 08:55 UTC, Vadym Krevs
Details

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