diff --git a/src/LoadsNovaTranslations.php b/src/LoadsNovaTranslations.php index 9d4ca12..1edd1e5 100644 --- a/src/LoadsNovaTranslations.php +++ b/src/LoadsNovaTranslations.php @@ -43,15 +43,15 @@ private function translations($pckgTransDir, $pckgName, $publish) $locale = app()->getLocale(); $fallbackLocale = config('app.fallback_locale'); + // Load Laravel translations + $this->loadLaravelTranslations($pckgTransDir, $pckgName); + // Attempt to load Nova translations if ($this->loadNovaTranslations($locale, 'project', $pckgTransDir, $pckgName)) return; if ($this->loadNovaTranslations($locale, 'local', $pckgTransDir, $pckgName)) return; if ($this->loadNovaTranslations($fallbackLocale, 'project', $pckgTransDir, $pckgName)) return; if ($this->loadNovaTranslations($fallbackLocale, 'local', $pckgTransDir, $pckgName)) return; $this->loadNovaTranslations('en', 'local', $pckgTransDir, $pckgName); - - // Load Laravel translations - $this->loadLaravelTranslations($pckgTransDir, $pckgName); }); }