diff --git a/src/Commands/CheckLangCommand.php b/src/Commands/CheckLangCommand.php index 6766a0283..01afbc39c 100644 --- a/src/Commands/CheckLangCommand.php +++ b/src/Commands/CheckLangCommand.php @@ -65,7 +65,8 @@ private function getLangFiles($module) private function getDirectories($module) { $moduleName = $module->getStudlyName(); - $path = $module->getPath() . '/Resources/lang'; + $path = $module->getPath() . $this->langPath; + $directories = []; if (is_dir($path)) { $directories = $this->laravel['files']->directories($path); $directories = array_map(function ($directory) use ($moduleName) {