Re: --enable-nls doesn't work as expected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2024/1/5 19:19, Jonathan Wakely via Gcc-help 写道:
That should work fine. The zh_CN.po file contains translations for
"error" and "%qD was not declared in this scope" so if the first
command uses the translated strings, then the second one should too.

It works perfectly for me using a native linux compiler:

Do you know where cc1plus looks for .mo files?

On Windows there are no unified absolute paths, so I suspect gettext looks by relative path. For gcc, messages can be found in '../share/locales/zh_CN/LC_MESSAGES/', but for cc1plus this won't be correct.

--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux