Which part of code in Magento 2.4.5-p1 sets window.LOCALE
?
vendor/magento/module-catalog/view/base/web/js/price-utils.js
defaults to en-US
as in locale = window.LOCALE || 'en-US';
where window.LOCALE is my case is undefined
.
But I see in Magento 2.4.5-p1 default installation that window.LOCALE is set to (e.g. fr-FR
) what it seems I’ve configured in Admin > Stores > Configuration > General > Locale Options > Locale (fr_FR
).