prevents repeating translations across apps and projects
Project description
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.
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
File details
Details for the file django-commontranslations-0.1a1.tar.gz
.
File metadata
- Download URL: django-commontranslations-0.1a1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb77892c9ce4f86aac819ad691ce9f50052bf47863b224e0adb73d3765db1e3e |
|
MD5 | 03cc8403ff3f4614a07a9420f48242ae |
|
BLAKE2b-256 | 098290306a4e8d5fc6c961468b191c1fea2e39e5ec5360791ada23d42ddeb390 |