diff --git a/src/Controller/Base.php b/src/Controller/Base.php index 4fb9052f..f54ef697 100644 --- a/src/Controller/Base.php +++ b/src/Controller/Base.php @@ -85,7 +85,8 @@ public function __construct() $this ->loadConfigs() - ->loadHelpers(); + ->loadHelpers() + ->loadLanguages(); // -------------------------------------------------------------------------- @@ -188,6 +189,16 @@ protected function loadHelpers(): self * @throws \Nails\Common\Exception\AssetException * @throws FactoryException */ + protected function loadLanguages(): self + { + // @todo (Pablo - 2018-09-24) - Remove this + Factory::service('Translation')->load('admin_generic'); + + return $this; + } + + // -------------------------------------------------------------------------- + protected function loadCss(): self { /** @var Asset $oAsset */