3 ms·
What is the behavior of gettext() if the message is not found? (This question is the answer to your question.)
by arantius 11y ago
What is the behavior of gettext() if the message is not found?
(This question is the answer to your question.)
- garethrees 11y agoIf the message is not found, gettext returns the argument unchanged, which would be a bug (English text incorrectly appearing instead of localized text). So that's not it. The answer to my question is that xgettext and gettext have special handling for PRIuMAX and the other formatting macros in inttypes.h. http://www.gnu.org/software/gettext/manual/gettext.html#Preparing-Strings http://www.gnu.org/software/gettext/manual/gettext.html#Prep...