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 langu
Forcing brew link
may result in negative consequences. It's better to modify virtual environment's PATH instead of force-linking. So,
Install GNU gettext:
brew install gettext
Add it to your virtual environment:
# Get this from the brew's "Summary"
GETTEXT_PATH="/usr/local/Cellar/gettext/0.19.8.1/bin"
# Change "postactivate" to "activate" if you're using python3's venv
FILE="YOUR_VENV/bin/postactivate"
echo "" >> $FILE
echo "export PATH=\$PATH:$GETTEXT_PATH" >> $FILE