code/controller/behavior/localizable.php
protected function _beforeRender(ControllerContext $context)
    {
        $controller = $context->getSubject();

        if (!$controller->isDispatched()) {
            $controller->loadLanguage();
        }
    }
protected function _beforeRender(ControllerContext $context)
    {
        $controller = $context->getSubject();

        if (!$controller->isDispatched()) {
            $controller->loadLanguage();
        }
    }
protected function _beforeRender ( ControllerContext $ context ) { $ controller = $ context -> getSubject ( ) ; if ( ! $ controller -> isDispatched ( ) ) { $ controller -> loadLanguage ( ) ; } }
Load the language if the controller has not been dispatched

@param   ControllerContext $context A controller context object
@return  void
Load the language if the controller has not been dispatched