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 2e27b70 + e41c27f commit beac80eCopy full SHA for beac80e
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