Skip to main content

Django browser language detect

Project description

Installation

pip install django-language-detect

Usage

request.browser_language

Settings.py

# Use `MIDDLEWARE_CLASSES` prior to Django 1.10
MIDDLEWARE = (
    ...
    'language_detect.middleware.BrowserLanguageDetectionMiddleware',
    ...
)

Project details


Download files

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

Files for django-language-detect, version 1.0.1
Filename, size & hash File type Python version Upload date
django-language-detect-1.0.1.tar.gz (1.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page