Skip to content

Commit 2f47e16

Browse files
committed
MC-19247: Broken translations with advanced bundling
- Load dictionary before js bundles;
1 parent 4359b6c commit 2f47e16

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Translation/view/frontend/layout

1 file changed

+1
-1
lines changed

app/code/Magento/Translation/view/base/layout/default.xml renamed to app/code/Magento/Translation/view/frontend/layout/default.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
99
<body>
1010
<referenceBlock name="head.additional">
11-
<block name="translation_dictionary" template="Magento_Translation::dictionary.phtml">
11+
<block name="translation_dictionary" template="Magento_Translation::dictionary.phtml" before="-">
1212
<arguments>
1313
<argument name="dictionary_view_model" xsi:type="object">Magento\Translation\ViewModel\Dictionary</argument>
1414
</arguments>

0 commit comments

Comments
 (0)