We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ebc6e4 commit 7d625bdCopy full SHA for 7d625bd
src/Service/LanguageService.php
@@ -65,7 +65,10 @@ public function translate(string $id): string
65
66
public function all(): array
67
{
68
- return $this->translator->getCatalogue($this->locale)->all('photobooth');
+ $fallbackLang = $this->translator->getCatalogue('en')->all('photobooth');
69
+ $currentLang = $this->translator->getCatalogue($this->locale)->all('photobooth');
70
+
71
+ return array_replace($fallbackLang, $currentLang);
72
}
73
74
public static function getInstance(): self
0 commit comments