Hi there.

I am trying to i18n the form validation messages for the app I am
writing but it seems I get something wrong.

in the template I do:

echo __($form['quantity']->getError()

and in /nl/messages.xml I have something like:

      <trans-unit id="95">
        <source>"%value%" must be at least %min%.</source>
        <target>DUMMY TEXT</target>
      </trans-unit>

For the quantity field I have an Integer validator with a "min"
condition.

It seems that the message does not get translated.

I spent a lot of time on this and I did not figure it out.

Please help me.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to