Last modified: 2013-05-27 19:28:56 UTC
I tried to add <translate> </translate> into <https://meta.wikimedia.org/wiki/Template:Resolution_info/AffCom> in this way: '''[[File:{{#switch:{{{status}}}|yes|passed|accepted=Yes check.svg|rejected|no|failed|not accepted=X mark.svg|unknown|#default=Blue question mark (italic).svg}}|15px]] <translate>Resolution {{#switch:{{{status}}}|yes|passed|accepted=passed|rejected|no|failed|not accepted=failed|unknown|#default={{{status}}}}} with {{{yes}}} votes in favor{{#if:{{{no|}}}|, {{{no}}} votes against|}}{{#if:{{{abstention|}}}|, {{{abstention}}} abstentions|}}{{#if:{{{noncast|}}}|, {{{noncast}}} votes not cast|}} on {{{date}}}.<translate>''' (I realize that that is super-ugly to translate, would have tried to refine that in following edits) Saving is not possible: [e3a72d3a] 2013-05-27 18:52:37: Fatal exception of type MWException
I don't know specifically about this syntax but that page translation breaks with such ugly parser functions is expected, see for instance https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_administration#Segmentation , "Parsing order". So I'd call this an enhancement. It's not clear to me what you're trying to do. If you want to translate the noincluded instructions below, try placing the translate tag on its own line, and if it doesn't work use the usual manual subpage?
(In reply to comment #0) > I tried to add <translate> </translate> into > <https://meta.wikimedia.org/wiki/Template:Resolution_info/AffCom> in this > way: > > '''[[File:{{#switch:{{{status}}}|yes|passed|accepted=Yes > check.svg|rejected|no|failed|not accepted=X mark.svg|unknown|#default=Blue > question mark (italic).svg}}|15px]] <translate>Resolution > {{#switch:{{{status}}}|yes|passed|accepted=passed|rejected|no|failed|not > accepted=failed|unknown|#default={{{status}}}}} with {{{yes}}} votes in > favor{{#if:{{{no|}}}|, {{{no}}} votes against|}}{{#if:{{{abstention|}}}|, > {{{abstention}}} abstentions|}}{{#if:{{{noncast|}}}|, {{{noncast}}} votes not > cast|}} on {{{date}}}.<translate>''' > > (I realize that that is super-ugly to translate, would have tried to refine > that in following edits) > > Saving is not possible: > [e3a72d3a] 2013-05-27 18:52:37: Fatal exception of type MWException I don't see </translate>. You ended with "<translate>'", no closing tag.
> I don't see </translate>. You ended with "<translate>'", no closing tag. Damn, I'm an idiot. Doing it properly works https://meta.wikimedia.org/w/index.php?title=Template%3AResolution_info%2FAffCom&diff=5514414&oldid=5237167 Whether it should be marked is another question of course, but I close this as resolved invalid.