#18881: tag "trans" not working with "context"
---------------------------------+--------------------------------
Reporter: lanyjie | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: 1.4
Severity: Normal | Keywords: trans context i18n
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------
Hi I am using the "trans" tag to do context aware translation. In my
template I had something like:
{{{
{%trans "Budget" context "finance"%}
}}}
then as I "makemessages", the context does not appear in my django.po
file. What's more, it fails to translate properly even if I had provided
the correct translation in the django.po file and compiled the messages.
--
Ticket URL: <https://code.djangoproject.com/ticket/18881>
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.