In order to get the Gettext tools like
xgettext for Windows you have basically several options:
Boost.Locale was developed for needs of CppCMS project and thus CppCMS hosts a convince package for Windows users of pre-build, statically liked
gettext runtime utilities like
So you can download a zip file
gettext-tools-static-XXX.zip from a CppCMS downloads page under boost_locale/gettext_for_windows.
Extract the file and use the executable files inside.
MinGW project provides GNU tools for Windows, including GNU compilers and various runtime utilities. Thus you can always install full MinGW distribution including gettext tools. However, if you a want minimalistic runtime version that allows you to extract messages and create catalogs you need to download several packages manually.
In order to install Gettext via MinGW distributing you need to download, a GCC's runtime, iconv library and gettext itself.
So visit a downloads page of MinGW project and download following files (chose the latest versions of each package):
For example, at June 23, 2011 it was:
After you download the packages, extract all the files to the same directory using tools like
7zip and you'll get all the executables and
dll's you need under
You can build your own version of GNU Gettext using MinGW environment, you'll need to have up-to-date gcc compiler and the shell, you'll need to install iconv first and then build a gettext with it.
Basic and simplest way would be to open a MinGW shell
And now you have in
c:\mygettext\bin all appropriate executable files to use.
If you already have Cygwin - just use gettext tools provided with it.