[Fixed]-Makemessages for an app installed in virtualenv

10👍

Within my project directory I make a (temporary) symlink to the app in my virtualenv and then I run the makemessages command like:

../manage.py makemessages -l nl –symlinks

After the *.po files is created I remove the symlink..

👤niels

1👍

You should probably add translations to the 3rd party app, provided they’re general enough for others to re-use.

You’ll want to pip install a fork of the 3rd party app’s repository, with something like this (assuming git and GitHub):

pip install -e git://github.com/{{ username }}/{{ reponame }}.git

Commit and push your changes, then submit a pull request to the original repository.

Leave a comment