Filter parameters are not translated in blocktrans
Consider a template with:
{% blocktrans with day|date:_("F j") as date%}Something on {{ date }}{% endblocktrans %}
"F j" is not available in the resulting .po file when running make-messages.py.
I found that the problem comes from the templatize function in utils/translations/trans_real.py but was not able to fix it as I am not good at playing with Lexer/Parser.
Change History
(8)
Component: |
Translations → Internationalization
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Tomáš Kopeček
|
Status: |
new → assigned
|
Keywords: |
sprintsept14 added
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Changed to the Internationalization component, as it is not a translation problem.