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.
1 parent f06f52c commit 6702cdcCopy full SHA for 6702cdc
lib/internal/Magento/Framework/View/Page/Config.php
@@ -174,7 +174,7 @@ public function __construct(
174
$this->setElementAttribute(
175
self::ELEMENT_TYPE_HTML,
176
self::HTML_ATTRIBUTE_LANG,
177
- str_replace('_', '-', $this->localeResolver->getLocale())
+ strstr($this->localeResolver->getLocale(), '_', true)
178
);
179
}
180
0 commit comments