From 2731b2a45ec621d047a8a4318e2412d14d64d02b Mon Sep 17 00:00:00 2001 From: Jon Uhlmann Date: Thu, 25 Feb 2021 01:07:18 +0100 Subject: [PATCH] :bug: Make sure correct locale is set --- Classes/Fusion/Implementation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Fusion/Implementation.php b/Classes/Fusion/Implementation.php index 8a85ae6..8673bbc 100644 --- a/Classes/Fusion/Implementation.php +++ b/Classes/Fusion/Implementation.php @@ -70,7 +70,7 @@ public function evaluate() Files::createDirectoryRecursively($cacheDirectory); - $syllable = new Syllable($this->getLocale()); + $syllable = new Syllable(str_replace('_', '-', $this->getLocale())); $syllable->getSource()->setPath($languagesDirectory); $syllable->getCache()->setPath($cacheDirectory);