Bug 455217 - Language KCM should install `langpacks-<lang>` package on fedora after adding language to system
Summary: Language KCM should install `langpacks-<lang>` package on fedora after adding...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_language (other bugs)
Version First Reported In: 5.24.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-13 14:53 UTC by Unknown
Modified: 2022-06-13 18:12 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2022-06-13 14:53: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
***
After adding language in kcm_language it need to install `langpacks-<lang>` to complete language support, langpacks-<lang> will install needed fonts and input methods for this language (https://src.fedoraproject.org/rpms/langpacks/blob/rawhide/f/langpacks.spec), fedora with gnome doing this already https://sundeep.co.in/blog/2019/07/31/langpacks-autoinstall/

STEPS TO REPRODUCE
1. Add `japanese` language to system for example.
2. Reboot.
3. There's no `langpacks-ja` package installed.

OBSERVED RESULT
No `langpacks-<lang>` package is installed in fedora. 

EXPECTED RESULT
`langpacks-<lang>` package should be installed in fedora. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora KDE 36
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Related: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/560 Similar bug but for ubuntu https://bugs.kde.org/show_bug.cgi?id=431292
Comment 1 Harald Sitter 2022-06-13 15:08:54 UTC
Fedora needs to come up with that code please file a bug with them.
Comment 3 Unknown 2022-06-13 15:19:56 UTC
Why similar bug for ubuntu is not closed as resolved downstream then? https://bugs.kde.org/show_bug.cgi?id=431292
Comment 5 Unknown 2022-06-13 16:52:34 UTC
(In reply to Harald Sitter from comment #4)
> https://bugs.kde.org/show_bug.cgi?id=431292#c12

But langpacks-lang is not about locales
Comment 6 Unknown 2022-06-13 17:09:58 UTC
I don't see what's wrong with systemsettings installing langpacks package after adding a language (leaving user with no fonts needed to display this language is not good).
Comment 7 Unknown 2022-06-13 17:52:08 UTC
dnf cannot know what languages are user enabled in kde, so auto-installing packages can be done only in systemsetting or dolphin (gnome does this in gnome software)
Comment 8 Harald Sitter 2022-06-13 18:12:48 UTC
"Fedora needs to come up with that code"


OSZAR »