Hello, Here is how I define a form in my views:
class MyForm(forms.Form): name = forms.CharField(label=_('Name')) ... The problem is _('Name') is translated when I restart the server (Django or Apache), but not when I switch the browser locale. I tried both from django.utils.translation import gettext_lazy as _ and from django.utils.translation import gettext as _ Any idea ? Olive. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---