On 21 Lut, 21:50, "Mishen'ka" <maarikbennietb...@gmail.com> wrote: > Hello all, > > I have make a site with translated menu items etc. > Now i want to change the language on login. > > By example i'm from the netherlands and want the Dutch language. > or i'm from america, so i want English as language. > > So i have change few things in the login pagina, > but it doesn't change my language. > > Does someone know the solution ? >
Try using LocaleMiddleware if you don't use it at the moment: http://code.djangoproject.com/browser/django/tags/releases/1.2.3/django/middleware/locale.py You can also manually pick active locale with django.utils.translation.activate() function. -- Tomasz Zielinski -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.