Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7002 closed (invalid)

Admin application doesn't get translated when using Apache + mod_python

Reported by: Hilbert Schraal <hilbert@…> Owned by: nobody
Component: Internationalization Version: 0.96
Severity: Keywords: admin, nfa-fixed
Cc: Triage Stage: Fixed on a branch
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm deploying django 0.96.1 on Apache + mod_python on debian etch. In
the setting.py I have:

LANGUAGES = (

('nl', 'Dutch'),

)

LANGUAGE_CODE = 'nl'

USE_I18N = True

On development using 'manage.py runserver' I have the admin app
translated in Dutch. Behind Apache + mod_python the admin app always
shows up in English. I even have set my language preference in my
browser to Dutch, to no avail.

I'm attaching my settings.py and my Apache2 config for reference.

Attachments (3)

settings.py (5.5 KB ) - added by Hilbert Schraal <hilbert@…> 16 years ago.
rvucmsfront (664 bytes ) - added by Hilbert Schraal <hilbert@…> 16 years ago.
This site serves the media and redirects to mod_python for dynamic content
rvucms (719 bytes ) - added by Hilbert Schraal <hilbert@…> 16 years ago.
This sites serves the dynamic content using mod_python

Download all attachments as: .zip

Change History (10)

by Hilbert Schraal <hilbert@…>, 16 years ago

Attachment: settings.py added

by Hilbert Schraal <hilbert@…>, 16 years ago

Attachment: rvucmsfront added

This site serves the media and redirects to mod_python for dynamic content

by Hilbert Schraal <hilbert@…>, 16 years ago

Attachment: rvucms added

This sites serves the dynamic content using mod_python

comment:1 by mrts, 16 years ago

Keywords: nfa-fixed added
Triage Stage: UnreviewedFixed on a branch

I can confirm that this does not work in 0.96.

But it works properly in nf-admin, so marking nf-admin-fixed.

comment:2 by Hilbert Schraal <hilbert@…>, 16 years ago

Good te hear it is fixed in a branch, but how do I solve this issue for the stable release? Is the patch going to be backported to 0.96? For us it is not really an option to switch to an unstable branch.

comment:3 by James Bennett, 16 years ago

Fixes are typically only backported to old releases when they involve critical security vulnerabilities. If your policy is only to run on a packaged release of Django, you will need to wait until the next release occurs, which cannot be predicted in advance.

comment:4 by Malcolm Tredinnick, 16 years ago

Resolution: invalid
Status: newclosed

Confirmed that this works correctly with mod_python and trunk. Closing, since the 0.96.1 release is just 0.96 plus security fixes and 0.96 is a snapshot of a point in time, so it won't ever be re-released.

comment:5 by Hilbert Schraal <hilbert@…>, 16 years ago

Is there a workaround for this problem? Except of copying all admin templates and do the translation in the copies?

comment:6 by Malcolm Tredinnick, 16 years ago

Since we don't actually know what the problem was that was fixed to change the behaviour between 0.96 and trunk, it's difficult to suggest a workaround. Try doing a scan through all closed tickets in the internationalization component and see if any of them look like possibilities.

Alternatively, you could check out trunk and bisect the changesets until you find the one that makes it worse. There have been less than 3000 commits between 0.96 and now on trunk, which means it will take at most 21 attempts to find the commit that fixed the problem.

comment:7 by Malcolm Tredinnick, 16 years ago

*sigh* Bad moment for a typo... when I wrote "21" above, I meant "12". :-(

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