I'm trying to get gettext to work in Django on my OSX Leopard
django_manage.py makemessages -l nl
Importing Django settings module settings
processing language nl
Error: errors happened while running xgettext on __init__.py
/bin/sh: xgettext: command not found
In Terminal I get the same error, unless I put this in my bash profile:
PATH=$PATH:/Applications/Poedit.app/Contents/MacOS/
But then I get this error:
Error: errors happened while running msguniq
/bin/sh: msguniq: command not found os x
After installing, try linking gettext. This solved the problem for me.
brew install gettext
brew link gettext --force