gettext package is needed for compiling language files of django. Please refer to django’s documentation on how to do this in their Internationalization section.

On Debian-based Linux:

sudo apt-get install gettext

On Windows, download the gettext-tools-x.y.z.zip (x.y.z is the latest version number, eg 0.1.14) and extract it to a directory and place its bin in your PATH. You can find the zip file in Sourceforge.