#20125: get_language_from_request() - inconsistent use of fallback language
--------------------------------------+------------------------------------
Reporter: lwarx | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Internationalization | Version: 1.5
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by bouke):
In
[[https://github.com/django/django/blob/9b7455e918a437c3db91e88dcbf6d9c93fef96f8/django/utils/translation/trans_real.py#L453|get_language_from_path:453]]
there is already a call to `get_supported_language_variant` and the
session will only contain languages that were previously available. Is
there still a problem with this? Apart from that, I like the locale
selector you're working on. The locale selection could do with some
cleaning up.
--
Ticket URL: <https://code.djangoproject.com/ticket/20125#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.ea487f0b8c0faefc5b3c3a18cc9a9b87%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.