diff --git a/src/Source/SymfonySourceProvider.php b/src/Source/SymfonySourceProvider.php index a316225..a8795a5 100644 --- a/src/Source/SymfonySourceProvider.php +++ b/src/Source/SymfonySourceProvider.php @@ -49,7 +49,7 @@ public function getTranslations(string $domain): TranslationCollection continue; } - if (!in_array($file->locale(), $this->enabledLocales, true)) { + if ($this->enabledLocales && !in_array($file->locale(), $this->enabledLocales, true)) { continue; }