public static function loadHandler($handlerClass)
    {
        if (!static::$_domain) {
            throw new Horde_Translation_Exception('The domain property must be set by the class that extends Horde_Translation_Autodetect.');
        }

        $directory = static::_searchLocaleDirectory();
        if (!$directory) {
            throw new Horde_Translation_Exception(sprintf('Could not found find any locale directory for %s domain.', static::$_domain));
        }

        static::$_directory = $directory;
        parent::loadHandler($handlerClass);
    }
public static function loadHandler($handlerClass)
    {
        if (!static::$_domain) {
            throw new Horde_Translation_Exception('The domain property must be set by the class that extends Horde_Translation_Autodetect.');
        }

        $directory = static::_searchLocaleDirectory();
        if (!$directory) {
            throw new Horde_Translation_Exception(sprintf('Could not found find any locale directory for %s domain.', static::$_domain));
        }

        static::$_directory = $directory;
        parent::loadHandler($handlerClass);
    }
public static function loadHandler ( $ handlerClass ) { if ( ! static :: $ _domain ) { throw new Horde_Translation_Exception ( 'The domain property must be set by the class that extends Horde_Translation_Autodetect.' ) ; } $ directory = static :: _searchLocaleDirectory ( ) ; if ( ! $ directory ) { throw new Horde_Translation_Exception ( sprintf ( 'Could not found find any locale directory for %s domain.' , static :: $ _domain ) ) ; } static :: $ _directory = $ directory ; parent :: loadHandler ( $ handlerClass ) ; }
Auto detects the locale directory location.

@param string $handlerClass  The name of a class implementing the
Horde_Translation_Handler interface.
Auto detects the locale directory location .