[TYPO3-mvc] translate error messages

Peter Niederlag typo3-list at niekom.de
Tue Feb 15 13:05:03 CET 2011


hello,

which approach are us using/ is avilable to translate errors?

I have used something like:

<f:translate 
key="error.{error.propertyName}.{errorDetail.code}">{errorDetail.message}</f:translate>

which I didn't feel to comfortable with in the end, as it lead to dozens 
of similar translation strings.

Maybe I'll just head for error.{error.propertyName} and make all failed 
validations into one message.

Anything else? what are u using?

Thx and Greets,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-project-typo3v4mvc mailing list