1#!/bin/sh 2# Example for use of GNU gettext. 3# This file is in the public domain. 4# 5# Source code of the POSIX sh program. 6 7. gettext.sh 8 9TEXTDOMAIN=hello-sh 10export TEXTDOMAIN 11TEXTDOMAINDIR='@localedir@' 12export TEXTDOMAINDIR 13 14gettext "Hello, world!"; echo 15 16pid=$$ 17eval_gettext "This program is running as process number \$pid."; echo 18