I have the following form:

from django import newforms as forms

class ContactForm(forms.Form):
    to      = forms.ChoiceField(label=_('To'), choices=CONTACTS)
    sender  = forms.EmailField(label=_('Email'))
    subject = forms.CharField(label=_('Subject'), max_length=50)
    message = forms.CharField(label=_('Message'),
widget=forms.Textarea)

I made the french translation for the labels, but when I display the
form in a template, they always use the language as defined with
LANGUAGE_CODE in settings.py.  Changing from 'en' to 'fr' and back
again changed the label titles, but using the setlang view, they
weren't translated.

Should that be considered a bug?

I'm using 0.96


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