Opened 17 years ago
Closed 17 years ago
#5603 closed (fixed)
[patch] make language_cookie_name customizable
Reported by: | moe | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Keywords: | language cookie name | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
trivial patch to make the name of the language cookie customizable (LANGUAGE_COOKIE_NAME in settings.py)
changes:
- django/utils/translation/trans_real.py
- django/views/i18n.py
- django/conf/global_settings.py
Attachments (2)
Change History (5)
by , 17 years ago
Attachment: | language_cookie_name.diff added |
---|
comment:1 by , 17 years ago
Needs documentation: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
Looks like a reasonable idea, for the same reason that session cookie names needs to be customisable sometimes.
Needs some documentation before it can go in. In settings.txt, a reference to the new setting is needed. In i18n.txt, we refer to the cookie name, so a quick link to the setting would be useful.
comment:2 by , 17 years ago
Needs documentation: | unset |
---|
docs patch attached, let me know if anything else needs to be done.
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch: add LANGUAGE_COOKIE_NAME