Use the __() i18n method for everything and you can gather all messages in .po translation files. For model validation messages you'd have to use Daniel's trick of using __() in the form->input options.
Whether that'll really make things easier for you I don't know... :-) On 12 Sep 2008, at 17:51, stefanski wrote: > > Fellows of the cake ring, > > I come to the point where I thought about having common notification > texts in a more central position in my application. Right now its > pretty mixed like: > - validation messages in the models > - notifications in the session-flash, which are set in the controller > - and a whole lot of other common texts in my textHelper in several > arrays > > I thought, having them all in the View layer makes more sense, how do > you guys do that? > > Use text keys for validation texts and write my own helper to display > them? But how to solve the session flash issue? > > Thanks and keep up the good cake spirit :-) > > Stefanski > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---