Hi Malcolm,

> It's not documented in thei18n.txt file (which needs a bit of a rewrite
> and splitting up once the docs reorganisation lands in trunk), but have
> a look at the activate() function in
> django/utils/translation/trans_real.py.

according to what is stated here:
http://code.djangoproject.com/browser/django/trunk/django/utils/translation/trans_real.py?rev=6582#L189

The setting is applied to a current thread. Well, could I be sure that
other HTTP-requests handled by the same thread wouldn't be affected by
this setting? I mean, my language setting should be applied to the
current single HTTP-request (for a given URL) only.

I start to believe that it is impossible to control translation
language of a view from inside of view functions. Although I wouldn't
find this as a very odd use case.

Regards
Valery

--~--~---------~--~----~------------~-------~--~----~
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