bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU gettext support for Shell scripts


From: Bruno Haible
Subject: GNU gettext support for Shell scripts
Date: Mon, 1 Dec 2003 15:47:13 +0100
User-agent: KMail/1.5

Hi,

The just-released GNU gettext 0.13 has improved support for Shell programs:

  * xgettext now also supports shell scripts. It recognizes invocations of
    the programs 'gettext', 'ngettext', the functions 'eval_gettext',
    'eval_ngettext', as well as the deprecated GNU bash builtin syntax $"...".
    New function library:
      gettext.sh - shell functions for internationalized shell scripts.
    New program:
      envsubst - substitutes environment variables in shell format strings.

  * An example demonstrating the use of GNU gettext with a shell script is
    shipped and installed at $prefix/share/doc/gettext/examples/hello-sh.

URL: http://ftp.gnu.org/gnu/gettext/gettext-0.13.tar.gz

Enjoy!

                                Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]