https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115203
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> --- Indeed, the suggestion was not to disable the translations in general. A similar issue shows up when running the testsuite. There is it solved by "setenv LANG C" and "setenv LANG C.ASCII" – while various scripts also use LANG=C. Thus, one way would be to have LANG=C set somewhere (e.g. via the Makefile - assuming it can be done portable). Alternative would be your suggestion to disable it in simple_diagnostic_path. Looking at gcc/intl.cc's gcc_init_libintl, you also need to watch out for open_quote/close_quote and other fun changes as they might come before you switch to to LANG=C.