gettext-sys
Raw FFI bindings for gettext
0.27.0
4.5M downloads/mo
#4731 most downloaded on crates.io
gettext-rs/gettext-rs
What this package is like to depend on
Last release 18 days ago
05 Aug 2026
Ships fairly regularly
a new release about every 11 months
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
14 releases · first in 2018
6 releases in the last 12 months
see the full history below
Release timeline
14 releases · May 2018 to Aug 2026Releases
latest 14-
0.27.005 Aug 2026Release notes
Open source →This release breaks an unwritten rule: version of gettext-sys crate no longer matches that of the bundled GNU gettext library. gettext-sys contains a tiny bit of Rust code which previously didn't require any major version bumps. However, unsoundness in setlocale (#64) made me realise that this in unsustainable. The newest GNU gettext version is 1.0, but I (Alexander Batischev) am not ready to bump gettext-sys to 1.0. Thus I am releasing this as 0.27, and will continue with 0.x versioning until such time that I'm confident enough to cut a 1.0.
Added
- Support for Cygwin's system libraries when building with gettext-system feature (Yuyi Wang)
Release notes
Open source →This release breaks an unwritten rule: version of gettext-sys crate no longer matches that of the bundled GNU gettext library. gettext-sys contains a tiny bit of Rust code which previously didn't require any major version bumps. However, unsoundness in
setlocale(https://github.com/gettext-rs/gettext-rs/issues/64) made me realise that this in unsustainable. The newest GNU gettext version is 1.0, but I (Alexander Batischev) am not ready to bump gettext-sys to 1.0. Thus I am releasing this as 0.27, and will continue with 0.x versioning until such time that I'm confident enough to cut a 1.0.Added
- Support for Cygwin's system libraries when building with gettext-system feature (Yuyi Wang)
Changed
- Bump bundled GNU gettext to 1.0 (Alexander Batischev)
-
0.26.011 Oct 2025 -
0.25.011 Oct 2025 -
0.24.011 Oct 2025 -
0.23.010 Oct 2025Release notes
Open source →Please note that in macOS 15 the
iconv()call is too broken to be used by GNU gettext; see the upstream bug: https://savannah.gnu.org/bugs/index.php?66541Changed
- Bump bundled GNU gettext to 0.23.2 (Alexander Batischev)
-
0.22.610 Oct 2025Release notes
Open source →Added
- Support for glibc/libintl shipped with GNU/Hurd (Pino Toscano)
Changed
- Stop building libgettext binaries that aren't required for gettext-sys. This speeds up the compilation of the vendored GNU gettext by an order of magnitude (Bruno Haible, Alexander Batischev)
Fixed
- Build failure on OpenBSD caused by
tarnot supporting--strip-componentsand-J(#116) (Alfred Morgan, Alexander Batischev)
-
0.22.510 Oct 2024 -
0.21.430 Aug 2024Release notes
Open source →Changed
- One can now link with system-provided gettext on FreeBSD by installing
gettextpackage or port and enablinggettext-systemfeature (or settingGETTEXT_SYSTEMenvironment variable) (Nathan Fisher)
Fixed
- Build failure with Clang 16 (Alexander Batischev)
- One can now link with system-provided gettext on FreeBSD by installing
-
0.21.316 Mar 2022Release notes
Open source →Changed
wbindtextdomainis now a Rust function rather than a C symbol. The symbol is now namedlibintl_wbindtextdomain, for better compatibility with MinGW. This change only affects Windows (Marin)
Fixed
- Only check for build dependencies when actually building the library (Ignacio Casal Quinteiro)
-
0.21.221 Jul 2021Release notes
Open source →Fixed
- Build failure on some systems which put libraries into "lib64" directory (#73) (Alexander Batischev)
-
0.21.116 Jul 2021Release notes
Open source →Changed
- Dependency on
tempdiris replaced by dependency ontemp-dir, which is way more lightweight (Amrit Brar)
- Dependency on
-
0.21.003 Mar 2021Release notes
Open source →Added
- A note regarding GNU gettext's LGPL license (Alexander Batischev)
- Checks for build tools required by GNU gettext (Dean Leggo)
- Bindings for
wbindtextdomain(only available on Windows) (Alexander Batischev) - Build-time dependency on
tempfile(Alexander Batischev)
Changed
- Bump bundled GNU gettext to 0.21 (Alexander Batischev)
Fixed
- Build failure when a path contains spaces (Alexander Batischev)
-
0.19.926 Jul 2019Release notes
Open source →Added
- Support for Windows+GNU (François Laignel)
- Support for musl libc (Rasmus Thomsen)
gettext-systemfeature which asks the crate to use gettext that's built into libc (if available) (François Laignel)- Use xz to compress the bundled GNU gettext tarball, to save space (Daniel García Moreno)
-
0.19.823 May 2018