makemessages command that allows for arguments to be passed to xgettext.
Project description
- Version:
- 0.1
This project has one goal:
Allow makemessages to receive additional parameters to pass to xgettext.
Requirements
django-makemessages-xgettext works with Python 2.7 and 3.4. It requires Django 1.7+
Installation
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", ]
Usage
As a way to generate .po files without the line number comment reference
Just use the makemessagesxgettext command instead of the makemessages command:
python manage.py makemessagesxgettext -a --xgettext=--add-location=file
License
This software is licensed under the New BSD License. See the LICENSE file in the repository for the full license text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-makemessages-xgettext-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45daec6cd807bf7721d84b6bbf2ddc609ade2e904a8874b49e893bf0172b802 |
|
MD5 | 1d37f8c0f00006f820a508062b90819a |
|
BLAKE2b-256 | 484ffea55474ee7af0c3a93ca96744b01561690cd4614fbc9e8e8f5e1ac1054e |
Close
Hashes for django_makemessages_xgettext-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd024d4a0a8ac43002378a0c4001d1fe0f68c8e654e320230a4e245c16d00848 |
|
MD5 | f23fb4f645de519436fe6ef61aea358f |
|
BLAKE2b-256 | f0c2f404c8bc748d4a78dd8f75ace9f2450b245e1c6d4cfdb62985ee035096ef |