I have the same problem, did you came up with a solution? Thank you!
El lunes, 23 de enero de 2012 16:05:43 UTC-3, Anna P escribió: > > Hello. > > I'm making multilingual website and I want administrator to add and > edit subpage in all available languages within one form. > > The add function works fine, the problem is when I want to edit > subpage and all translations at one time - one of the fields does not > want to update in i18n table. > > Model: > http://pastebin.com/Mas1aciu > > add function (works fine, adds record to "subpages" table and records > to "i18n" table containing title, link and content in every language): > http://pastebin.com/N61WLwNQ > > add view: > http://pastebin.com/Y6a1WquA > > edit function: > http://pastebin.com/1ZdumqUe > > edit view: > http://pastebin.com/BWcXvGKY > > Editing title and content and saving form changes only the > translations of fields "link" and "content" in i18n table. The title > just won't change at all in translations table, after editing a form. > > I've just build another model - Category. Same issue here, although I > translate only two fields (name and link, based on the name). The same > situation with editing - only "link" translation is being updated, and > "name" isn't. > > Anyone has a clue? Or maybe there is some better solution to create > and update dynamic translations with the use of one form? > > Regards, > Anna -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- 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]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
