#10662: lazy translation cannot be evaluated in string operation
----------------------------------+-----------------------------------------
 Reporter:  liangent              |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  Internationalization  |     Version:  1.0       
 Keywords:  [email protected]    |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 {{{
 a = ugettext_lazy('sth')
 b = 'x%s' % a
 c = 'x' + a
 }}}

 both {{{b}}} and {{{c}}} contain something like {{{<django. ... .proxy at
 ...>}}} in them.

 i have to write

 {{{
 a = ugettext_lazy('sth')
 b = 'x%s' % unicode(a)
 c = 'x' + unicode(a)
 }}}

 to get the expected result

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10662>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to