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.

Source Distribution

django-language-detect-1.0.1.tar.gz (1.6 kB view details)

Uploaded Source

File details

Details for the file django-language-detect-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django-language-detect-1.0.1.tar.gz
Algorithm Hash digest
SHA256 38668cc549695fa4f0b0da42982277d01f68a14baf0192992eed33c5700df1d7
MD5 722316c6142dff72aeb0f4e0aa9d7b04
BLAKE2b-256 0d2936cd14a15e3e6cd5d26184efb66a65c288770651eb14055586e7daf03eba

See more details on using hashes here.

Supported by

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