No, you only want to translate the label, not the field name :
echo $form->input("field_name", array("label"=>__("field_name")));
On Sep 25, 9:19 am, emmexx <[email protected]> wrote:
> On 25 Set, 02:18, brian <[email protected]> wrote:
>
> > __('field_name')
>
> Do you mean that I can use in a view something like the following?
>
> echo $form->input(__('date'));
>
> Thanks
> maxx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---