Hey, no, but I need to extend an existing application where the owner's opinion is that a refactoring would be too expensive. I recommended a refactoring but every client is an individual person with individual thoughts and fears, and I stopped myself from getting upset about those things... :)
I figured out why I could not change the language. The app is divided in Front- and Backend and the shell was stored within the backend structure, but the locales (po files) with the translations are stored in the frontend. I moved the shell and the email-template and modified the shell call of the cronjob, and now everything works fine. :) On 16 Mai, 16:26, AD7six <andydawso...@gmail.com> wrote: > On Wednesday, 16 May 2012 15:27:12 UTC+2, DigitalDude wrote: > > > Hey, > > > I'm having an issue with the Cake shells in Cake 1.2. I use a shell to > > send some status emails, and those emails need to be in a specific > > language for each recipient. So I use gettext() to implement that, > > which is working very fine in Cake 1.3. > > > In Cake 1.2 > > You are downgrading? > > AD -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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