On 25 Set, 12:47, "rich...@home" <[email protected]> wrote:
> No, you only want to translate the label, not the field name :
>
> echo $form->input("field_name", array("label"=>__("field_name")));
I tried what you suggested but the result is not what I espected.
1st attempt:
echo $form->input('table_id', array('label' => __('table_id')));
The output is:
table_id
Table
that is a label and the name of the joined table.
Unfortunately I want just one label, Table, translated if there's a
translation.
2nd attempt:
echo $form->input('table_id', array('label' => __('table_id', True)));
The output is:
table_id
I expected: Table
I'm missing something? I'm expecting too much from cake?
Thank you
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
-~----------~----~----~----~------~----~------~--~---