code/controller/behavior/localizable.php
public function loadLanguage()
    {
        $package = $this->getIdentifier()->package;
        $domain  = $this->getIdentifier()->domain;

        if($domain) {
            $url = 'com://'.$domain.'/'.$package;
        } else {
            $url = 'com:'.$package;
        }

        $this->getObject('translator')->load($url);
    }
public function loadLanguage()
    {
        $package = $this->getIdentifier()->package;
        $domain  = $this->getIdentifier()->domain;

        if($domain) {
            $url = 'com://'.$domain.'/'.$package;
        } else {
            $url = 'com:'.$package;
        }

        $this->getObject('translator')->load($url);
    }
public function loadLanguage ( ) { $ package = $ this -> getIdentifier ( ) -> package ; $ domain = $ this -> getIdentifier ( ) -> domain ; if ( $ domain ) { $ url = 'com://' . $ domain . '/' . $ package ; } else { $ url = 'com:' . $ package ; } $ this -> getObject ( 'translator' ) -> load ( $ url ) ; }
Load the language

@return 	void
Load the language