On Tue, Oct 6, 2009 at 3:11 PM, emmexx <[email protected]> wrote:
>
>
>
> On 6 Ott, 19:54, brian <[email protected]> wrote:
>> Do you have a .po file containing a translation for 'table_id'? And
>> have you set the language?
>
> Not yet but I expected that without a po file, or a translation, the
> label defaulted to the value used automatically by cake.
No, if Cake can't find the key in the po file, it echoes back the key
you pass it.
> I mean, if there's a belongTo field in the table, say category_id, I
> expected that the result of
> echo $form->input('category_id', array('label' => __('category_id',
> True)));
> would be Category, not category_id. That is: no translation >>>
> default value.
But you've already specified the label to Cake so it's not going to
give you the automatic value.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---