Bug 469547

Summary: Weird typo in month name in tooltip
Product: [Plasma] plasmashell Reporter: Emir SARI <emir_sari>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, ryuichi.ya220
Priority: NOR    
Version First Reported In: 5.27.5   
Target Milestone: 1.0   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
screenshot2
"Sun3ay" instead of "日曜日"

Description Emir SARI 2023-05-09 19:30:37 UTC
Created attachment 158808 [details]
screenshot

As a translator I am a bit embarrassed to open this bug report, but I have no idea where the month names are sourced from. See screenshot.

In tr_TR locale, May is translated as Mayıs. However, for some reason, on the digital clock tooltip, it is displayed as 5ayıs.

What am I looking at here? I highly doubt there would be a typo in a widely used ISO library or something. Maybe due to some space constraint, is it glitching?
Comment 1 Nate Graham 2023-05-15 22:53:45 UTC
I *might* know what's going on here, but I'll need some more information. Can you run Plasma in American English and see if the same issue happens? Or a similar issue? Or does it work fine in English?
Comment 2 Emir SARI 2023-05-16 08:49:18 UTC
Created attachment 158992 [details]
screenshot2

I have a weird screenshot here :). All the locale settings are en_US, but somehow the month name on the tooltip is stuck in 5urkish.
Comment 3 Nate Graham 2023-05-16 15:39:34 UTC
Hmm, that's odd. Did you make sure to reboot after changing the settings? If not, please do so. If so, then can you paste the contents of `~/.config/plasma-localerc` and the output of `env | grep LANG`?
Comment 4 Emir SARI 2023-05-17 09:20:57 UTC
env | grep LANG:
LANG=en_US.UTF-8
LANGUAGE=en_US

plasma-localerc:
[Formats]
LANG=en_US.UTF-8

[Translations]
LANGUAGE=en_US
Comment 5 Nate Graham 2023-05-17 14:06:27 UTC
Well that's weird. I have no idea how you could possibly still be seeing Turkish in that tooltip with all the language and locale variables set up that way.
Comment 6 Ryan Y 2023-12-03 18:24:28 UTC
Created attachment 163826 [details]
"Sun3ay" instead of "日曜日"

I encountered a similar problem when using ja_JP locale in Plasma 6.0 Dev, but not in 5.27.29.

In most of system locales I've tried, such as American English, German and French, the tooltip shows date and time in English without this glitch. As far as I know It can be observed only in ja_JP locale. Is this - https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3606 - related?
Comment 7 Nate Graham 2024-04-04 03:46:46 UTC

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