yes, I do so because I want to translate my phrases. I would use CakePHP to
translate interface, but also want my actual data to be in several
languages. Seems that creating additional table for each field is the only
way to go =(

Regards,
Vadim.

On 15 April 2010 04:44, cricket <[email protected]> wrote:

>
> This is a bit backwards but I think it would work.
>
> Car model:
>
> var $belongsTo = array(
>        'CarName' => array(
>                'className' => 'Phrase',
>                'foreignKey' => 'name_id'
>        ),
>        'CarDescription' => array(
>                'className' => 'Phrase',
>                'foreignKey' => 'description_id'
>        )
> );
>
> The scenario you describe seems a little messy though. Maybe there's a
> better approach. Does this concern translations?
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to