Custom Django makemessages command that clears fuzzy entries, preserves date headers, and defaults to --add-location=file.
Project description
pescheck-makemessages
Custom Django makemessages command with sane defaults for translation workflows.
What it does
- Defaults to
--add-location=file— only stores filenames in.pocomments, not line numbers, so moving code around doesn't bloat diffs - Clears fuzzy entries — Django silently ignores fuzzy translations at runtime, so they look translated but aren't. This command clears the fuzzy flag and empties the
msgstr, making untranslated strings visible - Preserves date headers —
POT-Creation-DateandPO-Revision-Dateare restored aftermsgmerge, avoiding noisy diffs on every run
Installation
pip install pescheck-makemessages
Add to INSTALLED_APPS:
INSTALLED_APPS = [
...
"pescheck_makemessages",
]
Usage
./manage.py make_messages -a
All standard makemessages flags work as usual.
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 pescheck_makemessages-0.2.0.tar.gz.
File metadata
- Download URL: pescheck_makemessages-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff27aeddb1f3a459f36b0626adff708a947684bf6d6448325dbd5ada73e9a93a
|
|
| MD5 |
40114a133e640409c3c6d4ffe3980fd4
|
|
| BLAKE2b-256 |
13a87f9bad9fa596531aecef8df90bd1ba2f6769d386ac23655e458f400abd0b
|
Provenance
The following attestation bundles were made for pescheck_makemessages-0.2.0.tar.gz:
Publisher:
ci.yml on pescheckit/pescheck-makemessages
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pescheck_makemessages-0.2.0.tar.gz -
Subject digest:
ff27aeddb1f3a459f36b0626adff708a947684bf6d6448325dbd5ada73e9a93a - Sigstore transparency entry: 1206051034
- Sigstore integration time:
-
Permalink:
pescheckit/pescheck-makemessages@e4c8a590f8262fd4c6b41aaab2b278617bdea448 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/pescheckit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@e4c8a590f8262fd4c6b41aaab2b278617bdea448 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pescheck_makemessages-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pescheck_makemessages-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c65495840aab494b5be9eeeb48e061f2ada40c1d3bf555ab7f33fb5b618d882
|
|
| MD5 |
c7a3fd27b6c574be77bf983fda487c05
|
|
| BLAKE2b-256 |
e62a4927cd1e58def569c15880582cd286482508aeb2118b21f302cef24101a5
|
Provenance
The following attestation bundles were made for pescheck_makemessages-0.2.0-py3-none-any.whl:
Publisher:
ci.yml on pescheckit/pescheck-makemessages
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pescheck_makemessages-0.2.0-py3-none-any.whl -
Subject digest:
7c65495840aab494b5be9eeeb48e061f2ada40c1d3bf555ab7f33fb5b618d882 - Sigstore transparency entry: 1206051037
- Sigstore integration time:
-
Permalink:
pescheckit/pescheck-makemessages@e4c8a590f8262fd4c6b41aaab2b278617bdea448 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/pescheckit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@e4c8a590f8262fd4c6b41aaab2b278617bdea448 -
Trigger Event:
push
-
Statement type: