27,18 → 27,12 |
); |
|
/* TODO: Use Autoloader */ |
require_once 'Zend/Stdlib/ErrorHandler.php'; |
require_once 'Zend/I18n/Translator/TextDomain.php'; |
require_once 'Zend/I18n/Translator/Loader/FileLoaderInterface.php'; |
require_once 'Zend/I18n/Translator/Loader/Gettext.php'; |
require_once 'Zend/ServiceManager/ServiceLocatorAwareInterface.php'; |
require_once 'Zend/ServiceManager/ServiceLocatorInterface.php'; |
require_once 'Zend/ServiceManager/ServiceManager.php'; |
require_once 'Zend/ServiceManager/AbstractPluginManager.php'; |
require_once 'Zend/I18n/Translator/LoaderPluginManager.php'; |
require_once 'Zend/I18n/Translator/Translator.php'; |
|
require_once 'Zend/Loader/StandardAutoloader.php'; |
$loader = new Zend\Loader\StandardAutoloader(array('autoregister_zf' => true)); |
$loader->register(); |
|
$translator = new Zend\I18n\Translator\Translator(); |
// $translator->setCache(new Zend\Cache\Storage\*Adapter()); |
$type = 'gettext'; |
$baseDir = './LocaleData'; |
$pattern = '%s/LC_MESSAGES/%1$s.pointedears.mo'; |