Hello everybody,

I wonder if someone could help me with the following problem. I have
this table called categories:

CREATE TABLE IF NOT EXISTS `categories` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(64) NOT NULL,
  `modified` timestamp NOT NULL default CURRENT_TIMESTAMP,
  `created` datetime NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8;

Now I want to implement i18n and l10n. So I started to use the
Translate Behavior in the Category Model. I created the table from app/
config/sql/i18n.sql.

Everything works ... but not for my purpose.:)

Now the problem: When a person adds a category, e.g. english and
german, I get two new records in the tables categories and i18n.
Actually there should only be ONE category and two translations.

Can anyone give me a hint how to accomplish this? A link to some
documentation would also be fine, as the manual is yet to be written.

Best Regards,

Oliver Block

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to