#11240: Compilemessages fails if a % character is at certain places in the .po file -------------------------------------+------------------------------------- Reporter: tback | Owner: Type: Bug | garcia_marc Component: | Status: new Internationalization | Version: 1.3 Severity: Normal | Resolution: Keywords: | Triage Stage: Ready for Has patch: 1 | checkin Needs tests: 0 | Needs documentation: 0 Easy pickings: 0 | Patch needs improvement: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by skyjur): Another workaround is to use alternative syntax for translation: {{{ {{ _('Percent sign here % is not escaped.') }} }}} I guess that gettext might be looking for python syntaxed string- formatting in template files and is mislead because text string is followed directly by percent sign '''%}'''. -- Ticket URL: <https://code.djangoproject.com/ticket/11240#comment:26> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.