Search code examples
djangolocalizationgettextdjango-manage.py

Django makemessages for apps in site-packages


How can I collect translation strings outside of my project folder using Django's built-in makemessages facility? The management command makemessages is very convenient and I'd like to use it for applications located in site-packages.


Solution

  • Other than makemessages I found PyBabel very useful. Here is a bind to Django itself: http://babel.edgewall.org/wiki/BabelDjango