diff --git a/src/FileLoader.php b/src/FileLoader.php index 6f106bf..33c7a4c 100644 --- a/src/FileLoader.php +++ b/src/FileLoader.php @@ -40,7 +40,7 @@ public function load($locale, $group, $namespace = null) { $defaults = []; - $locale = str_replace('-', '_', $locale); + $locale = str_replace('_', '-', $locale); foreach ($this->paths as $path) { $defaults = array_replace_recursive($defaults, $this->loadPath($path, $locale, $group));