Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14620 closed (duplicate)

django.utils.translation.get_language doesn't use settings

Reported by: Julian Owned by: nobody
Component: Core (Other) Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I'm using the test_suite option in my settings.py setup. When specifying a LANGUAGE_CODE l10n in form-fields doesn't work properly. I've figured out that django.utils.translation.get_language isn't working as expected. Please check out my test app to find out.

I'm sorry but I can't provide a patch.

When using this app withing a djangoproject with a LANGUAGE_CODE set, everything's working fine.

Change History (3)

comment:1 by Julian, 14 years ago

sorry, it should've read 'in my setup.py setup' not 'in my settings.py setup'.

comment:2 by Jannis Leidel, 14 years ago

Resolution: duplicate
Status: newclosed

I believe this is a duplicate of #9340

comment:3 by Julian, 14 years ago

ok, seems to be a related bug at least. to make it clear again:

python setup.py test

fails, but installing language_bug into a project and then

python manage.py test

works.

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