diff --git a/Translator.php b/Translator.php index 0f1606e..46611b6 100755 --- a/Translator.php +++ b/Translator.php @@ -122,7 +122,7 @@ public function get($key, array $replace = [], $locale = null, $fallback = true) $locales = $fallback ? $this->localeArray($locale) : [$locale]; foreach ($locales as $locale) { - if (! is_null($line = $this->getLine( + if (! empty($line = $this->getLine( $namespace, $group, $locale, $item, $replace ))) { return $line ?? $key;