LANGUAGE_CODE settings are ignored
|Reported by:||joerg@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 Changed 8 years ago by ubernostrum
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:3 Changed 7 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 7 years ago by mir
- Resolution fixed deleted
- Status changed from closed to reopened