This is an unofficial build of GNU gettext tools for Windows. The repository contains build scripts, but there are also up-to-date binaries published at https://github.com/vslavik/gettext-tools-windows/releases, as well as a NuGet package.
It is a spin-off project from my translations editor Poedit: https://poedit.net
The easiest way to use these tools is to just download the binaries or use the
Gettext.Tools
NuGet package.
If you prefer to build it yourself, it's simple enough:
- You need to have a recent version of MSYS2 and MinGW-w64 installed from https://www.msys2.org; run all subsequent commands within a MinGW 32 shell.
- Install required packages:
pacman -S mingw-w64-i686-gcc automake autoconf pkg-config make zip patch tar
- Run
make dist
ormake archive
to build everything.
Good luck, building GNU gettext on MinGW tends to break once in a while due to MinGW or gettext or gnulib changes (hence this project...).
The LICENSE file in this directory applies to GNU gettext itself, which is licensed under GPLv3. The makefiles and scripts for building it on Windows are in the public domain.
I'm @vslavik on Twitter.