Home

Awesome

Build Status

gettext

gettext is an internationalization and localization (i18n and l10n) system commonly used for writing multilingual programs on Unix-like computer operating systems. See documentation

Maintainers

Type of Package

Binary package

Use as Dependency

Binary packages can be set as runtime or build time dependencies. See Defining your dependencies for more information.

To add core/gettext as a dependency, you can add one of the following to your plan file.

Buildtime Dependency

pkg_build_deps=(core/gettext)

Runtime dependency

pkg_deps=(core/gettext)

Use as Tool

Installation

To install this plan, you should run the following commands to first install, and then link the binaries this plan creates.

hab pkg install core/gettext --binlink

will add the following binaries to the PATH:

For example:

$ hab pkg install core/gettext --binlink
» Installing core/gettext
☁ Determining latest version of core/gettext in the 'stable' channel
→ Found newer installed version (core/gettext/0.20.1/20200603163144) than remote version (core/gettext/0.20.1/20200306001518)
→ Using core/gettext/0.20.1/20200603163144
★ Install of core/gettext/0.20.1/20200603163144 complete with 0 new packages installed.
» Binlinking msgfilter from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgfilter from core/gettext/0.20.1/20200603163144 to /bin/msgfilter
» Binlinking msgcmp from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgcmp from core/gettext/0.20.1/20200603163144 to /bin/msgcmp
» Binlinking msgattrib from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgattrib from core/gettext/0.20.1/20200603163144 to /bin/msgattrib
» Binlinking gettextize from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked gettextize from core/gettext/0.20.1/20200603163144 to /bin/gettextize
» Binlinking msgmerge from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgmerge from core/gettext/0.20.1/20200603163144 to /bin/msgmerge
» Binlinking envsubst from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked envsubst from core/gettext/0.20.1/20200603163144 to /bin/envsubst
» Binlinking gettext from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked gettext from core/gettext/0.20.1/20200603163144 to /bin/gettext
» Binlinking msginit from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msginit from core/gettext/0.20.1/20200603163144 to /bin/msginit
» Binlinking xgettext from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked xgettext from core/gettext/0.20.1/20200603163144 to /bin/xgettext
» Binlinking msgexec from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgexec from core/gettext/0.20.1/20200603163144 to /bin/msgexec
» Binlinking msgcat from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgcat from core/gettext/0.20.1/20200603163144 to /bin/msgcat
» Binlinking gettext.sh from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked gettext.sh from core/gettext/0.20.1/20200603163144 to /bin/gettext.sh
» Binlinking msgfmt from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgfmt from core/gettext/0.20.1/20200603163144 to /bin/msgfmt
» Binlinking recode-sr-latin from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked recode-sr-latin from core/gettext/0.20.1/20200603163144 to /bin/recode-sr-latin
» Binlinking msguniq from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msguniq from core/gettext/0.20.1/20200603163144 to /bin/msguniq
» Binlinking ngettext from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked ngettext from core/gettext/0.20.1/20200603163144 to /bin/ngettext
» Binlinking msgcomm from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgcomm from core/gettext/0.20.1/20200603163144 to /bin/msgcomm
» Binlinking msgen from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgen from core/gettext/0.20.1/20200603163144 to /bin/msgen
» Binlinking autopoint from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked autopoint from core/gettext/0.20.1/20200603163144 to /bin/autopoint
» Binlinking msgconv from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgconv from core/gettext/0.20.1/20200603163144 to /bin/msgconv
» Binlinking msggrep from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msggrep from core/gettext/0.20.1/20200603163144 to /bin/msggrep
» Binlinking msgunfmt from core/gettext/0.20.1/20200603163144 into /bin
★ Binlinked msgunfmt from core/gettext/0.20.1/20200603163144 to /bin/msgunfmt

Using an example binary

You can now use the binary as normal. For example:

/bin/gettext --help or gettext --help

$ gettext --help
Usage: gettext [OPTION] [[TEXTDOMAIN] MSGID]
or:    gettext [OPTION] -s [MSGID]...

Display native language translation of a textual message.

  -d, --domain=TEXTDOMAIN   retrieve translated messages from TEXTDOMAIN
  -c, --context=CONTEXT     specify context for MSGID
...
...