On Tue, Jan 07, 2025 at 10:37:27PM +0100, Patrice Dumas wrote: > > If we can detect that the locale is stuck at C/POSIX and that therefore > > translations are disabled, we could output a warning message. > > This could be done at the end of _switch_messages_locale. But do we want > to do that unconditionally?
Actually, after more thinking, the case where translations would not be wanted by the user is too much of a special case to balance against warning that there won't be translations. I will implement a warning. Still, if the translations are disabled for this kind of reason, and unlike most errors/warnings reported, it may not be possible for the user to solve the issue, even if the user wants translations, and unconditionally having a message output could still be annoying. We have --no-warn for such case, but it is all or nothing. -- Pat