On Tue, 2007-03-13 at 06:45 +0000, Boris Erdmann wrote:
> Hi,
> 
> sorry for cross posting:
> 
> 
> The __init__ method of the newforms.Field class normalizes labels and
> help_text by using smart_unicode().
> 
> This seems to break gettext_lazy. The marked string gets evaluated to
> early?
> 
> When accessing a newly started http server with two browsers with
> different accept-languages, both get to see the translation of the
> first browser.
> 
> If I remove the usage of smart_unicode() in Field class of newforms/
> fields.py
> "everything" works as expected.

Sounds like a bug and it looks like you've worked out the cause, too,
which should make fixing it easier.

Could you open a ticket about this please (put it in the
"internationalization" component) so that we won't lose this
information. I'm paying a bit of attention to i18n tickets at the
moment, so this will get fixed.

Regards,
Malcolm



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

Reply via email to