Frustration with locales

A similar topic has already been broached in another thread on this board, but my problem is slightly different.
Contrary to the answer in that thread, I was able to get my custom locale (en_CH) to appear in KDE Settings under “Region & Language” by following the excellent instructions in thread 21316 (how-can-i-customize-a-system-locale) on askubuntu. However, as mentioned in how-can-i-use-a-custom-locale-throughout-all-kde-apps (thread 21601 here), components that use Qt for formatted dates (e.g. the Digital Clock in the topbar) appear not to respect those settings.
I can get around this in the calendar widget by selecting “ISO Date” as “Date Format” in plasma’s “Digital Clock Settings”, but I am tired of having to customize the date and time format individually in every application. Furthermore, some applications don’t support the customization I want. For example, Evolution allows me to customize the date format in the Calendar, but not in Mail. Some sources recommend using environment variables, but others say that is bad practice. How can I best define a date and time format that will at least be recognized by GTK applications running under KDE, if not by KDE applications?

1 Like