diff --git a/module/VuFind/src/VuFind/Service/Factory.php b/module/VuFind/src/VuFind/Service/Factory.php index 94c779f887d0613d7fa8d94377ddd6fcc79e2671..ee9adec780da7e7d676addb08f6d2f922430a127 100644 --- a/module/VuFind/src/VuFind/Service/Factory.php +++ b/module/VuFind/src/VuFind/Service/Factory.php @@ -948,7 +948,7 @@ class Factory return $translator; } $pm->setService( - 'extendedini', + 'ExtendedIni', new \VuFind\I18n\Translator\Loader\ExtendedIni( $pathStack, $fallbackLocales ) diff --git a/module/VuFindTheme/src/VuFindTheme/Initializer.php b/module/VuFindTheme/src/VuFindTheme/Initializer.php index e6e97c8c78e3cba052b651ebe84db7dedcd0c115..871acc555076fa98436f30210f4b3fd906b544ee 100644 --- a/module/VuFindTheme/src/VuFindTheme/Initializer.php +++ b/module/VuFindTheme/src/VuFindTheme/Initializer.php @@ -415,7 +415,7 @@ class Initializer $translator = $this->serviceManager->get('VuFind\Translator'); $pm = $translator->getPluginManager(); - $pm->get('extendedini')->addToPathStack($pathStack); + $pm->get('ExtendedIni')->addToPathStack($pathStack); } catch (\Zend\Mvc\Exception\BadMethodCallException $e) { // This exception likely indicates that translation is disabled, // so we can't proceed.