Skip to main content

Translates Django models using a registration approach.

Project description

Stand With Ukraine
http://img.shields.io/coveralls/deschler/django-modeltranslation.svg?style=flat-square Latest PyPI version Supported Python versions Join the chat at https://gitter.im/django-modeltranslation/community

The modeltranslation application is used to translate dynamic content of existing Django models to an arbitrary number of languages without having to change the original model classes. It uses a registration approach (comparable to Django’s admin app) to be able to add translations to existing or new projects and is fully integrated into the Django admin backend.

The advantage of a registration approach is the ability to add translations to models on a per-app basis. You can use the same app in different projects, may they use translations or not, and you never have to touch the original model class.

Features

  • Add translations without changing existing models or views

  • Translation fields are stored in the same table (no expensive joins)

  • Supports inherited models (abstract and multi-table inheritance)

  • Handle more than just text fields

  • Django admin integration

  • Flexible fallbacks, auto-population and more!

For the latest documentation, visit https://django-modeltranslation.readthedocs.io/en/latest/.

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

django_modeltranslation-0.19.19.tar.gz (77.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_modeltranslation-0.19.19-py3-none-any.whl (93.4 kB view details)

Uploaded Python 3

File details

Details for the file django_modeltranslation-0.19.19.tar.gz.

File metadata

File hashes

Hashes for django_modeltranslation-0.19.19.tar.gz
Algorithm Hash digest
SHA256 26dd8454f19540a2eb05e303608a2d89dd80aacb75ab95f8ea272cf4324d2644
MD5 7b3955115ebc6c85f751909400416766
BLAKE2b-256 c1af3c34fca94fccae681a15734bc6557cf9be958d1d063ddbb233580b894054

See more details on using hashes here.

File details

Details for the file django_modeltranslation-0.19.19-py3-none-any.whl.

File metadata

File hashes

Hashes for django_modeltranslation-0.19.19-py3-none-any.whl
Algorithm Hash digest
SHA256 55ac2ce47486b9e8ca18b155f7705170a53b7e1346bf7bf89304e99787486e8f
MD5 c81b52fc40b3031988cd5287a546f956
BLAKE2b-256 a72afdf265e91e37ee363b2c45f3d2a01752a3b38ab082a3ec0b0677105bd367

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page