Some messages output by programs in GNU coreutils 9.11 are not being translated.
When the --help option is specified, a help message is displayed, but
some messages remain in English. Specifically,

Report bugs to: [email protected]
Print machine architecture.
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>

are not translated. The rest of the text translates without any issues.

I did a little investigating.

The messages mentioned above are found in `emit_bug_reporting_address()`
in `lib/version-etc.c`,where `gettext()` is used to output the messages.
Just before outputting the message, I used `printf` to check the current locale,
and it matched the locale of the running environment. However, when I tried 
adding other
messages to the source code, they also remained in English.

However, I tried copying the `emit_bug_reporting_address()` section to `uname.c`
and running it as `emit_bug_reporting_address1()`.
As a result, the message was output correctly in the locale of
the running environment.Therefore, it appears that neither the gettext
functionality nor the message catalog is the issue.
It seemed that when there was a message using gettext in
`emit_bug_reporting_address()` in `lib/version-etc.c`,
the conversion did not work properly.

I’d like to investigate this issue a bit further—is there a
good way to do that?

--
ribbon

Reply via email to