makemessages command that allows for arguments to be passed to xgettext.
Project description
- Version:
- 0.1.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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-makemessages-xgettext-0.1.1.tar.gz.
File metadata
- Download URL: django-makemessages-xgettext-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d0500c7aad704759911cb1b98b6f223f0702e13e504459b4dbda81665aa174f
|
|
| MD5 |
e3e7f04674fdbbec72fd11f4ae47232b
|
|
| BLAKE2b-256 |
a7252b815f1c3bbe6cbb30ccb015735e1f477d397466382d8fa216c0b220a76b
|
File details
Details for the file django_makemessages_xgettext-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: django_makemessages_xgettext-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad5e954c3fa1a37a7b8f4baee83980cb872e11712fd016920fb873393374204b
|
|
| MD5 |
0b604e9d48b0bac64a8721652f4beaaa
|
|
| BLAKE2b-256 |
97802aa84d350fbb8ac239a342bd17b8a35761e9ea5c7f9bbd8561e52fb51374
|