Opened 18 years ago

Closed 16 years ago

#3539 closed (fixed)

LANGUAGE_CODE settings are ignored

Reported by: joerg@… Owned by: nobody
Component: Core (Other) Version: 0.95
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When using Django with runfcgi the language settings (settings.LANGUAGE_CODE) are get overriden.

Initially the correct files are loaded, but afterwards reset to en-us. This does not happen with runserver.

The culprit seems to be django.core.management.execute_from_command_line, which forcefully sets the language for most actions.
Commenting the call to translation.active out results in the expected behaviour.

Change History (6)

comment:1 by James Bennett, 18 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Malcolm Tredinnick, 17 years ago

Is #4813 the same problem in another disguise?

comment:3 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

comment:4 by Michael Radziej, 16 years ago

Resolution: fixed
Status: closedreopened

I don't trust anonymous closers - is this really closed?

comment:5 by joerg@…, 16 years ago

Yes. Doesn't happen any longer and the sister bugs are closed already.

comment:6 by Simon Greenhill, 16 years ago

Resolution: fixed
Status: reopenedclosed

Ok, reclosing.

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