This seems to be the cause of a lot of complaints about l10n/i18n not working.
I set up two languages in my app: 'eng' and 'jpn'. In core.php I added: define('DEFAULT_LANGUAGE', 'eng'); Configure::write('Config.language', 'en'); In my app_controller beforeFilter: $lang = $this->Auth->user('pref_lang'); // user pref saved in the DB $this->L10n->get($lang); // Config.language gets set to 'ja' here I put a debug on line 124 of i18n.php: Debugger::log('l10n instance: '.$_this->l10n->locale.', Configure: '.Configure::read('Config.language')); 2008-04-21 15:34:44 Debug: "l10n instance: eng, Configure: en" 2008-04-21 15:34:44 Debug: "l10n instance: eng, Configure: ja" 2008-04-21 15:34:44 Debug: "l10n instance: eng, Configure: ja" 2008-04-21 15:34:44 Debug: "l10n instance: eng, Configure: ja" ... The very first instance of l10n seems to get the default language from core.php, but afterwards my beforeFilter is changing it. i18n holds on to just one instance of l10n though, which causes it to continue to use the default value. I opened a ticket for it: https://trac.cakephp.org/ticket/4509 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---