Hi,

> Would be much grateful for any kind of hint, I've spent so many hours
> trying to solve this and I can't figure out what my next move should
> be.

- Do you have Sessions enabled? If so, do you see the correct language
when you print request.session['django_language']? Do you have the
LocaleMiddleware after the SessionMiddleware in settings?

- The i18n framework depends on the Python threading module. If you
drop into a shell with "python manage.py shell", are you able to
"import threading"?

- If all of that seems OK, find the "do_translate" function in
django.utils.translation.trans_real.do_translate and put some debug
prints there to see why Django may be falling back to
settings.LANGUAGE_CODE

-Rajesh


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to