title: TYPO3: use fluid's date view helper inline as argument for translate view helper
body: <p>I am currently developing some extensions to use within TYPO3 6.</p>
  
  <p>In one view I have database records with date fields. I can output the date values with the following:</p>
  
  <pre><code>&lt;f:format.date format="d.m.Y H:i:s"&gt;{record.validend}&lt;/f:format.date&gt;
  </code></pre>
  
  <p>However, I need a translated message, so I would like to use the translate view helper and put the formatted date in the <em>arguments</em> attribute. Without succes so far.</p>
  
  <p>I tried:</p>
  
  <pre><code>&lt;f:translate key="{msg_id}" arguments="{0: code, 1: {f:format.date(date: record.validend, format: 'd.m.Y H:i:s')}}" htmlEscape="0" /&gt;
  </code></pre>
  
  <p>…and… </p>
  
  <pre><code>&lt;f:translate key="{msg_id}" arguments="{0: code, 1: {record.validend -&gt; f:format.date(format: 'd.m.Y H:i:s')}}" htmlEscape="0" /&gt;
  </code></pre>
  
  <p>…following this guide: <a href="http://forge.typo3.org/projects/typo3v4-mvc/wiki/Fluid_Inline_Notation" rel="nofollow">http://forge.typo3.org/projects/typo3v4-mvc/wiki/Fluid_Inline_Notation</a></p>
  
  <p>However, there seems to be some syntax error in my notation forcing fluid to interpret the whole thing as a string, resulting in an error, cause the arguments attribut is expected to be an array.</p>
  
  <p>Could anyone tell me if what I want is possible, and what syntax I need?</p>
  
  <p>best regards</p>
  
  <p>Christian</p>