SUMMARY Apps using sonnet print messages like this: > Warning: No language dictionaries for the language: "C" It isn't clear from the message what component printed it, what part of locale is wrong, etc. Please clarify the message: mention kde/sonnet, and say that "C" is a particular part of locale, and what part it is. Reference: https://github.com/qTox/qTox/issues/5741 Additionally, please don't print the warning a thousand times. Once per failed locale type should be sufficient, because user can't normally change environment variable on the fly. Apps actually can change their own environment, so you should probably recheck when it changes, and warn once for each failed locale type.
I see this as well Mar 20 11:22:26 centos-8 /usr/libexec/gdm-x-session[3130]: sonnet.core: No language dictionaries for the language: "C" Mar 20 11:22:26 centos-8 /usr/libexec/gdm-x-session[3130]: sonnet.core: No language dictionaries for the language: "C" Mar 20 11:22:26 centos-8 /usr/libexec/gdm-x-session[3130]: sonnet.core: No language dictionaries for the language: "C" There are two requests here, it seems: 1. a more descriptive error message to permit running down what is needed 2. suppression of repeated messaging of the same message from bug: https://github.com/qTox/qTox/issues/5741 my values are: [herrold@centos-8 pw]$ locale LANG=en_US LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C [herrold@centos-8 pw]$ locale | grep "LC_CTYPE" LC_CTYPE="C" [herrold@centos-8 pw]$ locale | grep "LANG" LANG=en_US [herrold@centos-8 pw]$ env | grep '\<C\>' LC_ALL=C [herrold@centos-8 pw]$
https://invent.kde.org/frameworks/sonnet/-/merge_requests/51
Git commit 5b4d94017ab17e45be158cdda757ffd18c62592c by loh tar. Committed on 15/05/2022 at 03:13. Pushed by cullmann into branch 'master'. Try to load en_US for LANG=C Don't warn about that, just debug. M +2 -2 src/core/loader.cpp https://invent.kde.org/frameworks/sonnet/commit/5b4d94017ab17e45be158cdda757ffd18c62592c