Skip to content

Commit

Permalink
🐛 Make sure correct locale is set
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto authored Feb 25, 2021
1 parent 3c5072b commit 2731b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Fusion/Implementation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2731b2a

Please sign in to comment.