diff --git a/module/VuFind/src/VuFind/View/Helper/Root/DisplayLanguageOption.php b/module/VuFind/src/VuFind/View/Helper/Root/DisplayLanguageOption.php index 2d80c55d084d1d8fae93ae7181c51d8a0634b85f..7d1c08128745deaaf5b12a2852b6d2050dd4c307 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/DisplayLanguageOption.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/DisplayLanguageOption.php @@ -56,9 +56,7 @@ class DisplayLanguageOption extends \Zend\View\Helper\AbstractHelper $this->translator = $translator; try { $this->translator->addTranslationFile( - 'ExtendedIni', - APPLICATION_PATH . '/languages/native.ini', - 'default', 'native' + 'ExtendedIni', null, 'default', 'native' ); $this->translator->setLocale('native'); } catch (\Zend\Mvc\Exception\BadMethodCallException $e) {