#18881: tag "trans" not working with "context"
------------------------------------+--------------------------------------
     Reporter:  lanyjie             |                    Owner:  nobody
         Type:  Bug                 |                   Status:  new
    Component:  Template system     |                  Version:  1.4
     Severity:  Normal              |               Resolution:
     Keywords:  trans context i18n  |             Triage Stage:  Unreviewed
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+--------------------------------------

Comment (by lanyjie):

 Maybe it is my mistake -- I can't reproduce it anymore. When I played with
 it, I found something highly related: if you use both double quote and
 single quote, the single quote version won't show up with context. Here is
 what I mean:
 {{{
     {%trans "Budget" context "finance"%}
 }}}
 Then somewhere else you have:
 {{{
     {%trans 'Budget' context 'finance'%}
 }}}
 Seems the translation system treats them as two different entries.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18881#comment:3>
Django <https://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 https://groups.google.com/groups/opt_out.


Reply via email to