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!

Language panel for django-debug-toolbar

Project Description

Django-debug-toolbar-multilang

Django-debug-toolbar-multilang aims to help you internationalize and localized Django apps. It adds a “Language” panel to the toolbar and shows you the current language as well as all available languages. It also lets you quickly change the language to the selected one.

Screenshots

panel preview1

Install

The recommended way to install djdt-multilang is by using pip:

pip install django-debug-toolbar-multilang

If you’d like to test an upcoming release, use instead:

pip install -e git+https://github.com/Matt3o12/django-debug-toolbar-multilang#egg=django-debug-toolbar-multilang

Next, you will need to add djdt-multilang to add debug_toolbar_multilang.panels.multilang.MultiLangPanel to DEBUG_TOOLBAR_PANELS and debug_toolbar_multilang to INSTALLED_APPS:

DEBUG_TOOLBAR_PANELS = [
    ...
    'debug_toolbar_multilang.panels.multilang.MultiLangPanel',
]

INSTALLED_APPS = [
    ...
    'debug_toolbar_multilang'
]

If you haven’t already set, DEBUG_TOOLBAR_PANELS make sure not to forget the defaults:

DEBUG_TOOLBAR_PANELS = [
    'debug_toolbar.panels.versions.VersionsPanel',
    'debug_toolbar.panels.timer.TimerPanel',
    'debug_toolbar.panels.settings.SettingsPanel',
    'debug_toolbar.panels.headers.HeadersPanel',
    'debug_toolbar.panels.request.RequestPanel',
    'debug_toolbar.panels.sql.SQLPanel',
    'debug_toolbar.panels.staticfiles.StaticFilesPanel',
    'debug_toolbar.panels.templates.TemplatesPanel',
    'debug_toolbar.panels.cache.CachePanel',
    'debug_toolbar.panels.signals.SignalsPanel',
    'debug_toolbar.panels.logging.LoggingPanel',
    'debug_toolbar.panels.redirects.RedirectsPanel',
    'debug_toolbar_multilang.panels.multilang.MultiLangPanel',
]

You will also need to enable the Locale middleware.

Release History

Release History

This version
History Node

1.0.1

History Node

1.0

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-debug-toolbar-multilang-1.0.1.tar.gz (6.2 kB) Copy SHA256 Checksum SHA256 Source Dec 29, 2014

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