Add “po_translate” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., "po_translate", ]If you already have a makemessges command defined somewhere in your application, remove your command or specify the po_translate application on top of it like this:
INSTALLED_APPS = [ ..., "po_translate", "app" ]Run the command as usual:
python manage.py makemessages -l en -d django
If your .po file contains lines without translation, then the translation of the specified locale will be added to them
4.If you do not want translation to be added, run the command with the -no–translate switch:
python manage.py makemessages -l en -d django --no-translate
Metadata
Release files for django-po-translate 1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_po_translate-1.15.tar.gz | 4.5 kB | Without provenance | Details for django_po_translate-1.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_po_translate-1.15-py3-none-any.whl | Python 3 | none | any | Details for django_po_translate-1.15-py3-none-any.whl |
Total release size: 10.3 kB
Release files / django_po_translate-1.15.tar.gz
| Download URL | django_po_translate-1.15.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e114e450acd8226e6a9ea77db1ba84566887a255c282412d1cf1bccd5a787b4
|
|
BLAKE2b-256 checksum How to use checksums |
70230f7d586bae208ce3173782ccea265ed507298e5127c2b56f2fb164b1bf51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / django_po_translate-1.15-py3-none-any.whl
| Download URL | django_po_translate-1.15-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5038221b41d21c25443cb35589edc1fa41d42f9321732405effb2ac3ceb4bfca
|
|
BLAKE2b-256 checksum How to use checksums |
0f360cc06045b750375219f3449c9410a893cb1eb1d2ceffd9f4a252471ae6b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Security for django-po-translate 1.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.