Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

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](https://poedit.com) 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](https://www.nuget.org/packages/Gettext.Tools/).

### 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

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages