Skip to main content

django-makemessages-xgettext - Generate translations with additional options

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.

Metadata

Release files for django-makemessages-xgettext 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-makemessages-xgettext 0.1.1
File Size Uploaded
django-makemessages-xgettext-0.1.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-makemessages-xgettext 0.1.1
File Interpreter ABI Platform
django_makemessages_xgettext-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.4 kB

Release files / django-makemessages-xgettext-0.1.1.tar.gz

Download URL django-makemessages-xgettext-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5d0500c7aad704759911cb1b98b6f223f0702e13e504459b4dbda81665aa174f
BLAKE2b-256 checksum
How to use checksums
a7252b815f1c3bbe6cbb30ccb015735e1f477d397466382d8fa216c0b220a76b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_makemessages_xgettext-0.1.1-py2.py3-none-any.whl

Download URL django_makemessages_xgettext-0.1.1-py2.py3-none-any.whl
Size 6.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ad5e954c3fa1a37a7b8f4baee83980cb872e11712fd016920fb873393374204b
BLAKE2b-256 checksum
How to use checksums
97802aa84d350fbb8ac239a342bd17b8a35761e9ea5c7f9bbd8561e52fb51374
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page