Bug 365139 - Inconsistent localization of month names in calendar plasmoid
Summary: Inconsistent localization of month names in calendar plasmoid
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Calendar (show other bugs)
Version: master
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: 1.0
Assignee: Martin Klapetek
URL:
Keywords:
: 364681 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-06 07:44 UTC by Pavel
Modified: 2021-08-07 22:52 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (60.22 KB, image/png)
2016-07-06 07:46 UTC, Pavel
Details
weekday and month in pt-br on top despite Plasma language is english (80.34 KB, image/png)
2020-06-18 11:55 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel 2016-07-06 07:44:27 UTC
I use Plasma 5.7.
I calendar plasmoid months names are in both Russian and English.

My locale settings:
LANG=en_GB.utf8
LC_CTYPE=ru_RU.utf8
LC_NUMERIC=ru_RU.utf8
LC_TIME=ru_RU.utf8
LC_COLLATE=ru_RU.utf8
LC_MONETARY=ru_RU.utf8
LC_MESSAGES=en_GB.utf8
LC_PAPER=ru_RU.utf8
LC_NAME=ru_RU.utf8
LC_ADDRESS=ru_RU.utf8
LC_TELEPHONE=ru_RU.utf8
LC_MEASUREMENT=ru_RU.utf8
LC_IDENTIFICATION=ru_RU.utf8

Reproducible: Always
Comment 1 Pavel 2016-07-06 07:46:07 UTC
Created attachment 99877 [details]
screenshot
Comment 2 Kai Uwe Broulik 2016-07-06 09:15:57 UTC
The problem is that the agenda part on the left just uses Qt.locale to format the date which uses the LC_something as language for the translated name. The month ontop of the calendar has some "clever" logic to get the translated name from the current LANG instead.

See Bug 353715
Comment 3 David Edmundson 2016-08-02 22:39:41 UTC
*** Bug 364681 has been marked as a duplicate of this bug. ***
Comment 4 Allan 2016-08-03 17:35:20 UTC
Since both the tooltip and calendar plasmoid are using the language for LC_TIME except for the month on top, shouldn't the month also use the same language as LC_TIME, without any trickery with LANG?
Comment 5 Martin Klapetek 2016-08-03 22:17:14 UTC
They should actually all use LANG. If my LANG is Czech and I use US datetime format, I still want all titles to be in Czech, not US.
Comment 6 Christoph Feck 2016-10-10 20:48:40 UTC
I remember Thiago had a reason for this to be a WONTFIX. Cannot find the thread on the Qt mailing lists right now.
Comment 7 Alexander Mentyu 2017-12-06 12:07:42 UTC
Currently it's displayed as 'M12' in the widget for 'December' in russian locale

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
Type: 64-bit
Comment 8 Patrick Silva 2019-02-28 17:42:44 UTC
Same thing on Arch Linux.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 9 Patrick Silva 2020-06-18 11:55:42 UTC
Created attachment 129470 [details]
weekday and month in pt-br on top despite Plasma language is english

Still an issue.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71.0
Qt Version: 5.15
Comment 10 Nate Graham 2021-08-07 18:39:48 UTC
This should have been fixed in Plasma 5.22. Can anyone confirm whether or not it is still a problem?
Comment 11 Pavel 2021-08-07 22:52:19 UTC
I don't observe this anymore