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);