gawk provides facilities for internationalizing awk programs. These include the functions described in the following list. The descriptions here are purposely brief. See Internationalization, for the full story. Optional parameters are enclosed in square brackets ([ ]):
dcgettext(
string [,
domain [,
category]])
TEXTDOMAIN
.
The default value for category is "LC_MESSAGES"
.
dcngettext(
string1,
string2,
number [,
domain [,
category]])
TEXTDOMAIN
.
The default value for category is "LC_MESSAGES"
.
bindtextdomain(
directory [,
domain])
The default domain is the value of TEXTDOMAIN
.
If directory is the null string (""
), then
bindtextdomain
returns the current binding for the
given domain.