diff --git a/src/Translator/Translator.php b/src/Translator/Translator.php index 5c31bd2c..85ca0f22 100644 --- a/src/Translator/Translator.php +++ b/src/Translator/Translator.php @@ -358,14 +358,14 @@ public function translate($message, $textDomain = 'default', $locale = null) $translation = $this->getTranslatedMessage($message, $locale, $textDomain); if ($translation !== null && $translation !== '') { - return $translation; + return $this->compileMessage($translation, $placeholders, $locale); } if ( null !== ($fallbackLocale = $this->getFallbackLocale()) && $locale !== $fallbackLocale ) { - return $this->translate($message, $textDomain, $fallbackLocale); + return $this->translate($message, $placeholders ?: $textDomain, $fallbackLocale); } return $this->compileMessage($message, $placeholders, $locale);