gettext [option] [[textdomain] msgid] gettext [option] -s [msgid]...
gettext program displays the native language translation of a
gettextadds a newline to the output.
If the textdomain parameter is not given, the domain is determined from
the environment variable
TEXTDOMAIN. If the message catalog is not
found in the regular directory, another location can be specified with the
When used with the
-s option the program behaves like the ‘echo’
command. But it does not simply copy its arguments to stdout. Instead those
messages found in the selected catalog are translated.
xgettext supports only the one-argument form of the
gettext invocation, where no options are present and the
textdomain is implicit, from the environment.