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