Bug 348071 - Plasmashell digital clock tooltip does not respect language UI when a country/region which uses a different language is selected.
Summary: Plasmashell digital clock tooltip does not respect language UI when a country...
Status: RESOLVED DUPLICATE of bug 340982
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock (show other bugs)
Version: 5.3.0
Platform: Slackware Linux
: HI normal
Target Milestone: 1.0
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-21 15:50 UTC by sombragris
Modified: 2021-12-23 16:33 UTC (History)
6 users (show)

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


Attachments
event pane -> date string wrong locale (77.28 KB, image/png)
2021-12-22 17:16 UTC, arne anka
Details

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