We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5813463 + a9ccf3b commit a02d4eeCopy full SHA for a02d4ee
lib/internal/Magento/Framework/App/Language/Dictionary.php
@@ -111,7 +111,9 @@ public function getDictionary($languageCode)
111
/** @var Config $languageConfig */
112
$languageConfig = $packInfo['language'];
113
$dictionary = $this->readPackCsv($languageConfig->getVendor(), $languageConfig->getPackage());
114
- $result = array_merge($result, $dictionary);
+ foreach ($dictionary as $key => $value) {
115
+ $result[$key] = $value;
116
+ }
117
}
118
return $result;
119
0 commit comments