#28636: Allow customizing the fallback language from the locale middleware
-------------------------------------+-------------------------------------
Reporter: Denis Anuschewski | Owner: nobody
Type: New feature | Status: new
Component: | Version: master
Internationalization |
Severity: Normal | Resolution:
Keywords: translation, | Triage Stage: Accepted
internationalization, request |
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Denis Anuschewski):
OK, here is what I ended up with: could you maybe take a look and tell me
what you think?
https://github.com/django/django/compare/master...claudep:28636?expand=1
With this approach you can set your custom fallback exactly like with your
changes by setting the middleware's class variable, but with an additional
fallback for missing translations.
--
Ticket URL: <https://code.djangoproject.com/ticket/28636#comment:20>
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/066.7d688bbfbdb8c6ac212536725fea4496%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.