[TYPO3-mvc] NumberChoiceViewHelper

Franz Koch typo3.RemoveForMessage at elements-net.de
Mon Feb 21 14:27:15 CET 2011


Hey,

> Since i like symfony very much, i converted the NumberChoiceViewHelper
> of symfony to fluid.
> With this solution we have to call it this way:
> <prod:format.numberChoice
> text="{f:translate(key: 'numberOfArticles', default: '[0]No Articles in
> this category|[1]There is 1 article in this category|(1,+Inf]There are
> _number_ articles in this category')}"

what an ugly syntax with all those pipes etc - there has to be a better 
way, doesn't it?

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list