all texts in KDE appear in English -- except the month/day names in the calendar popup of the Digital Clock widget.
obviously, the Clock widget uses the "Time" locale (de_DE) not only to correctly show the first day of week, but also, wrongly, to translate the names.
Instead it should, as all other KDE components do, use the "Region" locale (C).
i am a bit confused as to how the KDE settings or the system locales are taken into account (i got the strong impression, that it varies depending on component and maybe the moon's phase), but here are both configurations:
KDE regional settings:
Measurement Units: de_DE
Collation and Sorting: de_DE
system locale settings:
locale: Cannot set LC_ALL to default locale: No such file or directory
Created attachment 94906 [details]
screenshot showing calendar using de_DE while context menu uses the expected english (C) texts
Looks like a Qt bug, iirc we ask it for the month names.
Kinda, I looked into this.
On Unix there are multiple locales used - one for text one for dates.
However, when we do QLocale's date to string - that uses the qlocale that we set for dates, not for lang - and then naturally we get translated text.
We could force it to use the locale from $LANG - but then it's technically the wrong locale
Git commit 6f3fed77d59227a9b3ec85d343ffb2443086f7fa by Martin Klapetek.
Committed on 18/11/2015 at 17:38.
Pushed by mklapetek into branch 'master'.
[calendar] Use ui language for getting the month name
Simple QDate::longMonthName(..) won't do the job as it
will return the month name using LC_DATE locale which is used
for date formatting etc. So for example, in en_US locale
and cs_CZ LC_DATE, it would return Czech month names while
it should return English ones. So here we force the first ui
language locale and take the month name from that.
M +12 -1 src/declarativeimports/calendar/calendar.cpp