https://bugs.kde.org/show_bug.cgi?id=528220
Bug ID: 528220
Summary: LC_TIME not respected for dates in the calendar view
Classification: Plasma
Product: plasmashell
Version First 6.7.5
Reported In:
Platform: Gentoo Packages
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: Digital Clock widget
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Created attachment 197966
--> https://bugs.kde.org/attachment.cgi?id=197966&action=edit
Calendar view screenshot
DESCRIPTION
I have an unusual locale setup where most locale environment variables are in
Swedish, but LC_TIME specifically is in Polish (I'm learning the language).
The problem is that, when opening the calendar view of the "Digital Clock
widget" (see attached screenshot), I see that dates are in Swedish instead of
in Polish.
STEPS TO REPRODUCE
1. Set the following locale environment variables as stated below (I haven't
had time to check which variable is the culprit):
- sv_SE.UTF-8: LANG, LC_CTYPE, LC_NUMERIC, LC_COLLATE, LC_MESSAGES,
LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT, LC_IDENTIFICATION
- pl_PL.UTF-8: LC_TIME
2. Log out and login again to set the locale across the desktop
3. Click on the "Digital Clock widget" in the desktop
OBSERVED RESULT
- The month says "November" (it's the same in Swedish as in English)
- Weekdays are in Swedish (mån, tis, ons, tor, fre, lör, sön)
EXPECTED RESULT
- The month says either "Listopad" or "Listopada" ("November" in Polish)
- Weekdays are in Polish (I guess the short versions would look like this: pon,
wto, śro, czw, pią, sob, nie)
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): Gentoo Linux 2.18
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
ADDITIONAL INFORMATION
I don't know if this might be desired or not, but in the calendar widget I also
see the following in Swedish: "Dagar" (days), "Månader" (months), "År" (year)
and "Idag" (Today). That's not strictly a time so I understand if you guys
would desire to keep it with a non-LC_TIME locale, but personally I'd make it
also follow LC_TIME if possible.
To finish, here's my full locale environment in a hopefully clearer way in case
it were relevant:
$ locale
LANG=sv_SE.UTF-8
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC=sv_SE.UTF-8
LC_TIME=pl_PL.UTF-8
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY=es_ES.UTF-8
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=sv_SE.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_MEASUREMENT=sv_SE.UTF-8
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=
--
You are receiving this mail because:
You are watching all bug changes.