Authors: | Resulto Developpement Web Inc. |
---|---|
Version: | 0.1.1 |
This project has one goal:
- Allow makemessages to receive additional parameters to pass to xgettext.
django-makemessages-xgettext works with Python 2.7 and 3.4. It requires Django 1.7+
Install with pip
pip install django-makemessages-xgettext
Then add "django_makemessages_xgettext" to the INSTALLED_APPS list in settings.py
INSTALLED_APPS = [ ... "django_makemessages_xgettext", ]
Just use the makemessagesxgettext command instead of the makemessages command:
python manage.py makemessagesxgettext -a --xgettext=--add-location=file
This software is licensed under the New BSD License. See the LICENSE file in the repository for the full license text.