Created attachment 173140 [details] settings SUMMARY Date settings as set through systemsettings are not applied to KDE applications, but Gnome application adhere to the setting. STEPS TO REPRODUCE 1. Configure system to use en_CA 2. Change the date-time display to ISO with en_DK 3. Log-out and back in OBSERVED RESULT KDE applications do not follow my desired settings for displaying date and time. GTK applications do follow my settings. KDE application only have en_US as a language option and there is no way for me to change that. EXPECTED RESULT KDE should use my settings for date-time as desired. Make it a simple check box "use 24-hr" clock would help already (as done in the clock applet). SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20240826 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.5-1-default (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION According to the Internet setting my language to en_GB (which I don't want) should resolve the time display issue as well. That does not work and I have now set the time to C as that (at least in settings) displays the way I want time and date to display. However KDE applications don't follow these settings, where GTK applications do. Also the translations work correct in GTK, but KDE sticks to en_US and does not apply my chosen language/ translation. I have found this bug from 2014, but that is closed: https://bugs.kde.org/show_bug.cgi?id=340982 There is also a discuss thread: https://discuss.kde.org/t/how-do-i-properly-set-the-language-with-a-fallback/10295 Why can Gnome handle this correctly and QT/ KDE is unable to? Why does every application apply it's own language setting? That does not make any sense. cat /etc/locale.conf LANG=en_GB.UTF-8 LANGUAGE=en_GB:en_US:en LC_TIME=C cat .config/plasma-localerc [Formats] LANG=en_CA.utf-8 LC_TIME=C [Translations] LANGUAGE=:en_GB:en_CA
can you change 'LANGUAGE=:en_GB:en_CA' to 'LANGUAGE=en_GB:en_CA' and reboot, then see if the issue goes away?
The issue remains. There is no way that KDE allows me to set a different primary language or ability to display date-time in my desired format. What good does a setting option have if it is not followed by the KDE framework...
Can you paste the output of `env | grep 'LANG\|LC'` ?
env | grep 'LANG\|LC' LANGUAGE=en_GB:en_CA LANG=en_CA.utf-8 LC_CTYPE=en_US.UTF-8 LC_TIME=C LC_ALL=en_US.UTF-8
Thanks, the settings look OK to me. Can you be specific specific about exactly which KDE apps are not respecting this, and where exactly in the apps it's happening?
* Dolphin: refuses to show ISO date and time and sticks to the 12hr clock. * Kmymoney: sticks to using US data notation. * Libreoffice does not adhere, I needed to force notation in a cell, while that did not needed to be the case. (Though I understand that is out of the KDE project scope). * The digital clock widget, need to toggle it manually to 24hr clock. * The value for time to be set to "C" shows under settings the desired format, yet it is not adhered in applications.
To be specific where it does not follow: - Dolphin: general view for files - Kmymoney: when you do a data entry with a date value - Libreoffice: when a cell is set to date
Thanks. I'm starting to suspect this is actually a series of app bugs, not a general issue. I can confirm it in Dolphin and I believe Dolphin uses a hardcoded date style so that it can toggle between relative and absolute dates. Perhaps the absolute date option doesn't respect the systemwide config. I'm not familiar with KMyMoney, but it sounds like it could be a similar issue, and I strongly suspect that the LibreOffice bug — which I can also confirm — is the same. Can you open new individual bug reports for this, one per app? Thanks a lot!