I ran into an issue when generating my language files for Django.

This is because OSX has an old version of gettext installed. To use the last one, install it with homebrew and force homebrew to override OSX gettext command.

And then, no more problems !

 

Source