Hi everyone. I'm upgrading an app from Cake 1.2.5 to 1.3.1. Previously (with Cake 1.2.5) we were defining DEFAULT_LANGUAGE as a fallback like so:
define('DEFAULT_LANGUAGE', 'en_US'); And then allowing a switcher in the App Controller like so: $this->Session->write('Config.language', 'xx_XX'); // really a variable here This all worked fine, and grabbed the correct .po files from the locale directory. Now with Cake 1.3.1, I've found that having DEFAULT_LANGUAGE defined anywhere prevents switching the language in this way. If I comment out the define() statement or give the constant a different name, switching languages seems to work again. Is our implementation wrong? Is this a bug? Or should we just give the default language constant a different name and move on? Thanks in advance for any insight. Steve Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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