Skip to main content

makemessages command that allows for arguments to be passed to xgettext.

Project description

Authors: Resulto Developpement Web Inc.
Version: 0.1.1

This project has one goal:

  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-makemessages-xgettext, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_makemessages_xgettext-0.1.1-py2.py3-none-any.whl (6.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-makemessages-xgettext-0.1.1.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page