[TYPO3-mvc] Localize Flashmessages and fluid form errors
Matthias Krappitz
matthias at nospam.aemka.de
Sat Aug 27 18:33:34 CEST 2011
Hi,
I just created a small extension with the extension_builder where there is
one model with 4 fields and 2 of them must be nonempty (the annotations for
that in the model are set). If I save in the frontend without these 2 fields
being filled out, I get a Flashmessage and fluid form errors using the
appropriate Viewhelpers <f:flashMessages /> ...<f:form.errors> ...
{error.message} ... <f:if condition="{error.propertyName}"> <f:for
each="{error.errors}" as="errorDetail"> {errorDetail.message} </f:for> ...
</f:if> ... </f:form.errors>.
So my question is, how do I change the text of the Flashmessage and of the
Form Errors to something more human readable and how can I localize these
messages? What is the best practice for that? And where exactly do the
current standard texts come from? Are they hardcoded in extbase core
somewhere?
Best Wishes
Matthias Krappitz
w. www.aemka.de
More information about the TYPO3-project-typo3v4mvc
mailing list