Bug 494989

Summary: kcm_plymouth not shown when language is fr_FR.UTF-8 due to it currently having the same name as the kcm_ksplash
Product: [Applications] systemsettings Reporter: Christophe Agathon <christophe.agathon>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde, luigi.toscano, nate, sitter
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christophe Agathon 2024-10-18 12:32:39 UTC
SUMMARY
`systemsettings` doesn't display the plymouth configuration module (`kcm_plymouth`) when LANG is set to French (fr_FR.UTF-8). Instead it shows two instances of `kcm_splashscreen`.
One with kcm_splashscreen's icon, the other with kcm_plymouth's icon.

STEPS TO REPRODUCE
1. LANG=C systemsettings
2. see that both `kcm_plymouth` and `kcm_splashscreen` are available
3. close systemsettings
4. LANG=fr_FR.UTF-8 systemsettings
5. click on kcm_plymouth's icon

OBSERVED RESULT
systemsettings shows plasma splash screen configuration

EXPECTED RESULT
systemsettings shows plymouth configuration


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kubuntu 24.04
KDE Plasma Version:  5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
This is an old issue.
I have a patch coming for this
Comment 1 Christophe Agathon 2024-10-19 09:59:24 UTC
This fix works for me https://invent.kde.org/plasma/plymouth-kcm/-/merge_requests/40
Comment 2 Luigi Toscano 2024-10-21 19:26:31 UTC
(In reply to Christophe Agathon from comment #1)
> This fix works for me
> https://invent.kde.org/plasma/plymouth-kcm/-/merge_requests/40

Please get in touch with the French translation team: https://fr.l10n.kde.org/
Comment 3 Christophe Agathon 2024-10-22 08:02:28 UTC
(In reply to Luigi Toscano from comment #2)

I think you are right the fix is in the localization realm and the localization should never break the application. I would say the real issue is an internationalization one in `systemsettings` which shouldn't rely on localized module names to run properly.

I am tempted to re-qualify this bug as  general `systemsettings` bug. What do you think ?
Comment 4 Luigi Toscano 2024-10-22 08:40:26 UTC
(In reply to Christophe Agathon from comment #3)
> (In reply to Luigi Toscano from comment #2)
> 
> I think you are right the fix is in the localization realm and the
> localization should never break the application. I would say the real issue
> is an internationalization one in `systemsettings` which shouldn't rely on
> localized module names to run properly.
> 
> I am tempted to re-qualify this bug as  general `systemsettings` bug. What
> do you think ?

I generally agree that translations shouldn't affect the application. But I'm not a Plasma (of which systemsettings is part of) developer, and I remember a case (discover) where translations affects the behavior but it wasn't easily fixable. So I would leave that to the Plasma developers.
Comment 5 Nate Graham 2024-11-27 20:32:29 UTC
Can reproduce only with `LANGUAGE=fr_FR.UTF-8 systemsettings`, not LANG
Comment 6 David Edmundson 2025-01-22 15:54:54 UTC
I can no longer reproduce. It appears translations got fixed. 

>I generally agree that translations shouldn't affect the application

I'm not sure it did, it had the correct icon for the other KCM.