This release is a pre-release and may not be stable for production use.
django-commontranslations
django-commontranslations solves the problem that you have repeating translations across apps and projects. It is opinionated about how project specific templates are loaded. The standard makemessages command will create a .po file with all translation strings that it finds the project directory, regardless if it makes sense to explicitly translate them in the context of your project again. It might just be an app template that was overridden in the project, with all the translated strings already translated in the app.
django-commontranslations contains:
a modified makemessages command that will mark untranslated entries as obsolete if they have already been translated elsewhere.
a set of well structured translations of commonly used terms to use in other apps (just add django-commontranslations as a dependency and add django_commontranslations to INSTALLED_APPS) [IRONICALLY NOT TRANSLATED YET]
intructions on how to use common translations in your own apps (not yet)
django-commontranslations assumes that your project specific translations reside in a directory configured in the LOCALE_PATHS setting. It is assumed that LANGUAGE_CODE (the default language) is always en or en-us.
Metadata
Release files for django-commontranslations 0.1a2
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-commontranslations-0.1a2.tar.gz | 5.3 kB | Without provenance | Details for django-commontranslations-0.1a2.tar.gz |
Release files / django-commontranslations-0.1a2.tar.gz
| Download URL | django-commontranslations-0.1a2.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e2e7100562b87ceb7bb83cca1e2275e83eed7a86d3f36897a26fb1030a667c6
|
|
BLAKE2b-256 checksum How to use checksums |
1baeb371ab81e49f6088a3f7594e52bb9ac031156dd83867eb705782ed9a4b10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-commontranslations 0.1a2
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.