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
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
File details
Details for the file django-language-detect-1.0.1.tar.gz
.
File metadata
- Download URL: django-language-detect-1.0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38668cc549695fa4f0b0da42982277d01f68a14baf0192992eed33c5700df1d7 |
|
MD5 | 722316c6142dff72aeb0f4e0aa9d7b04 |
|
BLAKE2b-256 | 0d2936cd14a15e3e6cd5d26184efb66a65c288770651eb14055586e7daf03eba |