Next: bash, Previous: Ruby, Up: List of Programming Languages [Contents][Index]
bash, gettext
bash, gettext-base
sh
"abc"
, 'abc'
, abc
"`gettext \"abc\"`"
gettext
, ngettext
programs
eval_gettext
, eval_ngettext
, eval_pgettext
,
eval_npgettext
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
| |
• eval_pgettext Invocation: | Invoking the eval_pgettext function
| |
• eval_npgettext Invocation: | Invoking the eval_npgettext function
|