afaik every field is saved in the i18n table (in every language), if
you declare it as translatable.
so you should remove this field from the original table and only use
the i18n table for it.

eg if you have a model article and it should have fields as
id,user_id,created,body,title
and body,title should be translatable

you have to remove these two fields from the "articles" table and
instead rely on the TranslationBehavior.

On Jan 10, 1:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've been using the translation behaviour to translate and it works
> fine for the translations but not the original default language, when
> I set my application to the default language (es Spanish) and try to
> get the content from the Original Model (Page) the Translation
> behaviour tries to look for a translation within thei18ntable
> instead the pages table.
> How can I solve this problem?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to