Opened 10 years ago

Closed 9 years ago

#3088 closed defect (fixed)

Filter parameters are not translated in blocktrans

Reported by: diaeresis+bugs@… Owned by: permon
Component: Internationalization Version:
Severity: normal Keywords: sprintsept14
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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

I found that the problem comes from the templatize function in utils/translations/ but was not able to fix it as I am not good at playing with Lexer/Parser.

Attachments (1)

patch.diff (705 bytes) - added by permon 9 years ago.
fixed bug

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by Loïc d'Anterroches <diaeresis+bugs@…>

  • Component changed from Translations to Internationalization

Changed to the Internationalization component, as it is not a translation problem.

comment:2 Changed 10 years ago by Simon G. <dev@…>

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 9 years ago by permon

  • Owner changed from nobody to permon
  • Status changed from new to assigned

Changed 9 years ago by permon

fixed bug

comment:4 Changed 9 years ago by permon

  • Has patch set

comment:5 Changed 9 years ago by permon

  • Keywords sprintsept14 added

comment:6 Changed 9 years ago by permon

  • Triage Stage changed from Accepted to Ready for checkin

comment:7 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [6263]) Fixed #3088 -- Filter parameters are now translated in blocktrans. Thanks, permon

Note: See TracTickets for help on using tickets.
Back to Top