Thank you Brian for the explanation.
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 ema
On Tue, Oct 6, 2009 at 3:11 PM, emmexx wrote:
>
>
>
> On 6 Ott, 19:54, brian 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 au
On 6 Ott, 19:54, brian 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.
I mean, if there's a belongTo field in
Do you have a .po file containing a translation for 'table_id'? And
have you set the language?
http://book.cakephp.org/view/163/Localization-in-CakePHP
On Tue, Oct 6, 2009 at 10:54 AM, emmexx wrote:
>
> On 25 Set, 12:47, "rich...@home" wrote:
>> No, you only want to translate the label, not th
On 25 Set, 12:47, "rich...@home" 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('la
On 25 Set, 12:47, "rich...@home" 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
--~--~-~--~
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 wrote:
> On 25 Set, 02:18, brian wrote:
>
> > __('field_name')
>
> Do you mean that I can use in a view something like the following?
>
>
On 25 Set, 02:18, brian 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 Group
he Translate behaviour is useful to translate field values but I want
> to translate the field name, that is use another label for the name of
> one or more fields in a table.
>
> I can't believe cakephp has not a mechanism to translate field names:
> they'
.
I can't believe cakephp has not a mechanism to translate field names:
they're used in forms and views by cake...
Thank you
maxx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" grou
10 matches
Mail list logo