My Zend_translate is working but for some reason it only translates to english. Even when my locale is set to Dutch manually it shows the english translations. When I delete the english mo/po files it will use the dutch translations.
This is set in the bootstrap:
$translate = new Zend_Translate('gettext',
APPLICATION_PATH . "/languages/",
null,
array('scan' => Zend_Translate::LOCALE_DIRECTORY));
$registry = Zend_Registry::getInstance();
$registry->set('Zend_Translate', $translate);
//$translate->setLocale('nl_NL');
In the languages directory there are:en_US.mo, en_US.po, nl_NL.mo, nl_NL.po.
What am i doing wrong?