Next: bash, Previous: C, Up: List of Programming Languages [Contents][Index]
bash, gettext
sh
"abc"
, 'abc'
, abc
"`gettext \"abc\"`"
gettext
, ngettext
programs
eval_gettext
, eval_ngettext
shell functions
environment variable TEXTDOMAIN
environment variable TEXTDOMAINDIR
automatic
. gettext.sh
use
xgettext
—
fully portable
—
An example is available in the examples directory: hello-sh
.
• Preparing Shell Scripts: | Preparing Shell Scripts for Internationalization | |
• gettext.sh: | Contents of gettext.sh
| |
• gettext Invocation: | Invoking the gettext program
| |
• ngettext Invocation: | Invoking the ngettext program
| |
• envsubst Invocation: | Invoking the envsubst program
| |
• eval_gettext Invocation: | Invoking the eval_gettext function
| |
• eval_ngettext Invocation: | Invoking the eval_ngettext function
|