On Jan 17, 2008 5:36 AM, Grindizer <[EMAIL PROTECTED]> wrote:
> For example, i found this very handy, when we have to support a
> multilingual db: getting the current language like this and use it to
> select the right values in db can save us a lot of work, and result in
> a more clear views code and template.

You want to have a look in django.utils.translation, which already has
code to manage things like getting/setting the active language.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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