public static function languageFileExists($pluginCode, $language) { $model = new self(); $model->setPluginCode($pluginCode); $model->language = $language; $filePath = $model->getFilePath(); return File::isFile($filePath); }