Skip to content

poedit/gettext-tools

Repository files navigation

GNU gettext tools binaries (Windows/Mac)

This is an unofficial build of GNU gettext tools for Windows and Mac. The repository contains build scripts, but there are also up-to-date binaries published at https://github.com/poedit/gettext-tools/releases, as well as a NuGet package.

It is a spin-off project from my simple translations editor Poedit and is used by it.

Windows

The easiest way to use these tools is to just download the binaries or use the Gettext.Tools NuGet package.

Building from source

If you prefer to build it yourself, it's simple enough:

  1. 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.

  2. Install required packages:

    pacman -S  mingw-w64-i686-gcc automake autoconf pkg-config make zip patch tar
    
  3. Run make dist or make 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...).

macOS

Use it through SwiftPM -- add this repository as a dependency. The package includes GettextTools.framework with the tools and a trivial API to locate them.

Building from source

Run ./macos/build-xcframework.sh

License

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.

About

Unofficial binaries for GNU gettext tools for Windows

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors