Revision f533f224 ui/i18n.py
b/ui/i18n.py | ||
---|---|---|
3 | 3 |
from django.utils.translation import activate, to_locale |
4 | 4 |
from django.utils.translation import check_for_language, get_language |
5 | 5 |
|
6 |
|
|
7 | 6 |
def set_language(request): |
8 | 7 |
""" |
9 | 8 |
Django's set_language function adapted to serve GET instead of POST |
Also available in: Unified diff