Bug 348071

Summary: Plasmashell digital clock tooltip does not respect language UI when a country/region which uses a different language is selected.
Product: [Plasma] plasmashell Reporter: sombragris
Component: Digital Clock widgetAssignee: Martin Klapetek <mklapetek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: 2wxsy58236r3, kde-bugs, kde, nate, notuxius, plasma-bugs
Priority: HI    
Version: 5.3.0   
Target Milestone: 1.0   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: event pane -> date string wrong locale

Description sombragris 2015-05-21 15:50:22 UTC
I have my UI language set to English (US). My country/region is Paraguay (South America). One of Paraguay official languages is Spanish.

The problem is that Plasma assumes (wrongly) that since my region is Paraguay, I *must* have a Spanish UI, which is not the case.

For example, today is Thursday. When I put my mouse over the digital clock it says "jueves" (in Spanish). This is even despite the fact that I have selected English (US) as my UI language.

Reproducible: Always

Steps to Reproduce:
1. Select Paraguay as your country/region in System Settings
2. Select English (US) as your system UI language.
3. Put the mouse cursor over the digital clock. The tooltip will shown any date info in Spanish.

Actual Results:  
Date info shown is in Spanish

Expected Results:  
Info should respect UI choice. In this case the info should have been in English instead.
Comment 1 David Edmundson 2015-05-21 15:54:29 UTC
*** Bug 348068 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2015-05-21 15:54:32 UTC
*** Bug 348069 has been marked as a duplicate of this bug. ***
Comment 3 Martin Klapetek 2015-05-21 16:28:07 UTC
Fwiw, this is at Qt's level. The days come from QLocale directly which in turn gets them from CLDR (iirc).

I'm not sure about the rules upon which it decides what to return. I'd expect some LC_* variable.

---

For reference, this is the exact code used in tooltip: Qt.formatDate(tzDate,"dddd")
Comment 4 Alexander Mentyu 2017-12-11 10:42:24 UTC
I see both 'Paraguay' (gn_PY) and 'Paraguay - espaƱol' (es_PY) are present in 'Formats' settings. the first is selecting english as sys lang, the second is selecting spanish

Distribution: KDE neon Developer Edition - Stable Branches
Plasma: 5.11.4
Frameworks: 5.41.0
Qt: 5.9.3
Kernel 4.10.0-40-generic
Comment 5 Nate Graham 2021-08-29 21:21:10 UTC
*** Bug 374410 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2021-08-29 21:21:19 UTC
*** Bug 430275 has been marked as a duplicate of this bug. ***
Comment 7 arne anka 2021-12-22 17:15:46 UTC
Any progress here?
Currently the isssue is not only still unfixed, but seems to spread -- the new Events pane shows wrong language as well for the date part, while "Events" and the empty text "No events for today".
See attached screenshot.
Comment 8 arne anka 2021-12-22 17:16:56 UTC
Created attachment 144789 [details]
event pane -> date string wrong locale
Comment 9 Nate Graham 2021-12-23 16:33:02 UTC

*** This bug has been marked as a duplicate of bug 340982 ***