diff --git a/framework/core/src/Frontend/AddTranslations.php b/framework/core/src/Frontend/AddTranslations.php index e262f9941..5df1a91c6 100644 --- a/framework/core/src/Frontend/AddTranslations.php +++ b/framework/core/src/Frontend/AddTranslations.php @@ -53,7 +53,12 @@ class AddTranslations private function getTranslations(string $locale) { - $translations = $this->locales->getTranslator()->getCatalogue($locale)->all('messages'); + $catalogue = $this->locales->getTranslator()->getCatalogue($locale); + $translations = $catalogue->all('messages'); + + while ($catalogue = $catalogue->getFallbackCatalogue()) { + $translations = array_replace($catalogue->all('messages'), $translations); + } return Arr::only( $translations,