Monday, September 28, 2009

Re: Translate field names

On 25 Set, 12:47, "Richard@Home" <richardath...@gmail.com> wrote:
> No, you only want to translate the label, not the field name :
>
> echo $form->input("field_name", array("label"=>__("field_name")));

Ok, thank you, not a recipe as simple as I imagined but easy enough to
do it by hand.

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

No comments: