I believe the form_error() already makes a call to __() if i18n is on.
I'm not sure how you specify an alternate message file for it though.
Try digging into its source.

On Aug 20, 5:18 am, Tchinkatchuk <[EMAIL PROTECTED]> wrote:
> Hi everybody !
>
> I need to display form_error with i18n.
>
> I tried my i18n yml file and it is working.
> But with this : <?php echo __(form_error('nom'), null, 'error') ?>
>
> no translation is done. My error.yml is working in direct_call with
> '__()'.
>
> Could someone help me ?
>
> cheers


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

Reply via email to