Follow-up to r9454, Genshi extraction of gettext expressions won't work when those calls are located within an i18n:msg. The obvious workaround of moving these calls outside within a py:with won't work either (#G380).
Fortunately, when using a <?python ?> PI, it works...