gettext

Name

gettext -- look up MSGID in the current default message catalog for the current LC_MESSAGES locale

Synopsis

#include <libintl.h>

extern char *gettext((const char *msgid));

Description

Used to look up the MSGID in the DOMAINNAME message catalog for the current CATEGORY locale. If not found, returns MSGID itself (the default text).