Re: multilingual app
Hi! I know this behavior, but I'm currently not sure, if I maybe will create the site so, that their isn't a list of specific languages, but that everyone can wirte in every language he prefers. So this won't work :-( Best Regards, Sebastian --~--~-~--~~~---~--~~ 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 email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: multilingual app
hi i use this one: http://www.palivoda.eu/2008/04/i18n-in-cakephp-12-database-content-translation-part-2/ and it's very straight and simple to use. to save all data in all languages i disable the behaviour for the save action and everything works fine. On Jun 28, 7:52 pm, floorball92 wrote: > I think I've found a good solution. It's not the best implimentation I > think, but it should work: > > http://pastebin.com/m6eed9aa2 > > Currently, I 've got the problem, that my language field won't be > saved. It's in the $this->data array array, I've dumped it in > beforeSave() and afterSave(). > > It would be cool, if someone of you knows the solution because on IRC > we didn't get through it :-( > > Best regards, Sebastian --~--~-~--~~~---~--~~ 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 email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
multilingual app
Hi, I plan a project with a special i18n implimentation. Their won' t be a default language, their are records witch every user can access unattached of his language. But each record can have informations individual of the language. I give a sample. Main Table: id: 1 name: BMW Translation Table: id:1 foreigne_key: 1 locale: eng about: BMW is a german car producer id: 2 foreigne_key: 1 locale: deu about: BMW ist ein deutscher Autohersteller A search Result for find() on this Table should return: Car -> id: 1 -> name: BMW Translation -> 1 -> -> locale: eng -> -> about: BMW is a german car producer -> 2 -> -> locale: deu -> -> about: BMW ist ein deutscher Autohersteller If I have a Main record without Translations, I want the main record to be retrieved and the Translation array should be empty. When I'm right, this isn't directly able with Translate behavior... Does anyone know, how to solve this? Best regards, Sebastian --~--~-~--~~~---~--~~ 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 email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---