macOS
brew install gettextlocal Homebrew formula metadata
sudo port install gettextMacPorts ports tree · devel/gettext/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gettext in AI-Agent-Workflows.
Installation
brew install gettextlocal Homebrew formula metadata
sudo port install gettextMacPorts ports tree · devel/gettext/Portfile · Quelle: api.github.com
sudo apk add gettextAlpine Linux edge package indexes · gettext · Quelle: dl-cdn.alpinelinux.org
sudo apt install gettextDebian stable package indexes · gettext · Quelle: deb.debian.org
sudo dnf install gettextFedora Rawhide package metadata · gettext · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#gettextnixpkgs package indexes · gettext · Quelle: raw.githubusercontent.com
sudo pacman -S gettextArch Linux sync databases · gettext · Quelle: geo.mirror.pkgbuild.com
sudo zypper install gettext-runtimeopenSUSE Tumbleweed package metadata · gettext-runtime · Quelle: download.opensuse.org
scoop install main/gettextScoop official bucket manifest trees · bucket/gettext.json · Quelle: api.github.com
winget install --id mlocati.GetText -eWindows Package Manager source index · mlocati.GetText · Quelle: cdn.winget.microsoft.com
Überblick
GNU internationalization (i18n) and localization (l10n) library
Verlauf
GNU gettext is the GNU internationalization and localization toolkit for message catalogs. It supplies runtime APIs, command-line tools, PO and MO file workflows, and maintainer and translator conventions used by many Unix-like software projects.
GNU's own history traces the work to 1994 internationalization experiments around GNU fileutils and the `glocale` effort. Ulrich Drepper rewrote the approach in April 1995, and the package went through names such as `msgutils` and `nlsutils` before `gettext` was accepted as the GNU package name.
The first official GNU gettext release, numbered 0.7, appeared in July 1995 and included PO mode. In 1997, GNU libc 2.0 included the `gettext`, `textdomain`, and `bindtextdomain` functions; in 2000, plural-form handling via `ngettext` entered GNU libc, and Bruno Haible took over GNU gettext maintenance.
gettext became central to GNU and Unix-like localization because it separates programming from translation: source strings are marked in code, `xgettext` extracts templates, translators edit PO files, `msgmerge` refreshes them across source changes, and `msgfmt` compiles machine-readable catalogs. Its workflow gave maintainers, translators, distributors, and users a shared file format and toolchain.
Practitioners use gettext by marking translatable strings in program sources, initializing a text domain, extracting POT templates, maintaining language-specific PO files, compiling MO files, and installing catalogs under locale directories. Shell users and build systems also use utilities such as `gettext`, `ngettext`, `xgettext`, `msginit`, `msgmerge`, `msgfmt`, `msgattrib`, `msgcat`, and `envsubst`.
For package ecosystems, gettext is infrastructure rather than an optional convenience. Source distributions often carry POT and PO files, binary packages install compiled catalogs, and build recipes depend on tools such as `autopoint`, `gettextize`, `msgfmt`, and `xgettext` to keep translation workflows reproducible.
Sicherheitslage
library-like package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
autopoint | cli | globales Executable | |
envsubst | cli | globales Executable | |
gettext | cli | globales Executable | |
gettext.sh | cli | globales Executable | |
gettextize | cli | globales Executable | |
msgattrib | cli | globales Executable | |
msgcat | cli | globales Executable | |
msgcmp | cli | globales Executable | |
msgcomm | cli | globales Executable | |
msgconv | cli | globales Executable | |
msgen | cli | globales Executable | |
msgexec | cli | globales Executable | |
msgfilter | cli | globales Executable | |
msgfmt | cli | globales Executable | |
msggrep | cli | globales Executable | |
msginit | cli | globales Executable | |
msgmerge | cli | globales Executable | |
msgpre | cli | globales Executable | |
msgunfmt | cli | globales Executable | |
msguniq | cli | globales Executable | |
ngettext | cli | globales Executable | |
po-fetch | cli | globales Executable | |
printf_gettext | cli | globales Executable | |
printf_ngettext | cli | globales Executable | |
recode-sr-latin | cli | globales Executable | |
spit | cli | globales Executable | |
xgettext | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://www.gnu.org/software/gettext/
Installationsmetadaten
| Paketschlüssel | brew:gettext |
|---|---|
| Version | 1.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/gettext |
| Homepage | https://www.gnu.org/software/gettext/ |
| Repository | https://git.savannah.gnu.org/cgit/gettext.git |
| Upstream-Dokumentation | https://www.gnu.org/software/gettext/FAQ.html |
| Lizenz | GPL-3.0-or-later AND LGPL-2.1-or-later |
| Quellarchiv | https://ftpmirror.gnu.org/gnu/gettext/gettext-1.0.tar.gz |
| Zuletzt aktualisiert | 2026-07-04T09:43:28Z |
| Pulse | updated |
| Abhängigkeiten | json-c, libunistring |
| Von macOS bereitgestellte Bibliotheken | curl, libxml2, ncurses |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gettext |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
autopoint 0.23.1-2
tool for setting up gettext infrastructure in a source package
https://www.gnu.org/software/gettext/
sudo apt install autopointgettext 0.23.1-2
GNU Internationalization utilities
https://www.gnu.org/software/gettext/
sudo apt install gettextgettext-base 0.23.1-2
GNU Internationalization utilities for the base system
https://www.gnu.org/software/gettext/
sudo apt install gettext-basegettext-doc 0.23.1-2
Documentation for GNU gettext
https://www.gnu.org/software/gettext/
sudo apt install gettext-docgettext-el 0.23.1-2
Emacs mode for editing gettext .po files
https://www.gnu.org/software/gettext/
sudo apt install gettext-ellibasprintf-dev 0.23.1-2
use fprintf and friends in C++ - static libraries and headers
https://www.gnu.org/software/gettext/
sudo apt install libasprintf-devlibasprintf0v5 0.23.1-2
use fprintf and friends in C++ - shared library
https://www.gnu.org/software/gettext/
sudo apt install libasprintf0v5libgettextpo-dev 0.23.1-2
process PO files - static libraries and headers
https://www.gnu.org/software/gettext/
sudo apt install libgettextpo-devlibgettextpo0 0.23.1-2
process PO files - shared library
https://www.gnu.org/software/gettext/
sudo apt install libgettextpo0gettext
nix profile install nixpkgs#gettextautopoint 0.21-14ubuntu2
tool for setting up gettext infrastructure in a source package
https://www.gnu.org/software/gettext/
sudo apt install autopointgettext 0.21-14ubuntu2
GNU Internationalization utilities
https://www.gnu.org/software/gettext/
sudo apt install gettextgettext-base 0.21-14ubuntu2
GNU Internationalization utilities for the base system
https://www.gnu.org/software/gettext/
sudo apt install gettext-basegettext-doc 0.21-14ubuntu2
Documentation for GNU gettext
https://www.gnu.org/software/gettext/
sudo apt install gettext-docgettext-el 0.21-14ubuntu2
Emacs mode for editing gettext .po files
https://www.gnu.org/software/gettext/
sudo apt install gettext-ellibasprintf-dev 0.21-14ubuntu2
use fprintf and friends in C++ - static libraries and headers
https://www.gnu.org/software/gettext/
sudo apt install libasprintf-devQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.