public static function addNamespace($namespace, $hint) { \Illuminate\Translation\Translator::addNamespace($namespace, $hint); }
public function boot() { \Lang::addNamespace('core', __DIR__ . '/../Resources/lang'); $this->registerConfig(); $this->registerViews(); $this->listenRoutes(); }