Opened 11 years ago

Closed 11 years ago

#5603 closed (fixed)

[patch] make language_cookie_name customizable

Reported by: moe Owned by: nobody
Component: Internationalization Version: master
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


trivial patch to make the name of the language cookie customizable (LANGUAGE_COOKIE_NAME in


  • django/utils/translation/
  • django/views/
  • django/conf/

Attachments (2)

language_cookie_name.diff (1.7 KB) - added by moe 11 years ago.
language_cookie_name_docs.diff (2.1 KB) - added by moe 11 years ago.
docs patch

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by moe

Attachment: language_cookie_name.diff added


comment:1 Changed 11 years ago by Malcolm Tredinnick

Needs documentation: set
Triage Stage: UnreviewedAccepted

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.

Changed 11 years ago by moe

docs patch

comment:2 Changed 11 years ago by anonymous

Needs documentation: unset

docs patch attached, let me know if anything else needs to be done.

comment:3 Changed 11 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [7185]) Fixed #5603 -- Allow customization of the language cookie name. Thanks, moe.

Note: See TracTickets for help on using tickets.
Back to Top