I figured it out. You can only really run __() in the views.
No, you can run the function anytime you want. Trying to use the session prior to an instance of session component being loaded you can not. Configure::write() can be used as early as the bootstrap.php file to set a language if you are not using the auto detection of the L10n class. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
