This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

Release History

Release History

This version
History Node

0.1a2

History Node

0.1a1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-commontranslations-0.1a2.tar.gz (5.3 kB) Copy SHA256 Checksum SHA256 Source Oct 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting