Skip to content
Snippets Groups Projects
Commit d554ee95 authored by Demian Katz's avatar Demian Katz
Browse files

Removed unnecessary file path (let ExtendedIni figure it out).

parent 94e31f5d
No related merge requests found
......@@ -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) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment