MDVA-39966: Unable to deploy locales other than en_US
The MDVA-39966 patch solves the issue where the user is unable to deploy locales other than en_US. This patch is available when the Quality Patches Tool (QPT) 1.1.2 is installed. The patch ID is MDVA-39966. Please note that the issue was fixed in Adobe Commerce version 2.4.1.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.3.5-p2
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.3.0 - 2.3.5-p2, 2.4.0 - 2.4.0-p1
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
Unable to deploy locales other than en_US.
Steps to reproduce:
- Configure two store views with different locales, for example - en_US and de_DE.
- Try to deploy static content for these locales by running the following command:
bin/magento setup:static-content:deploy --language=en_US
bin/magento setup:static-content:deploy --language=de_DE
Expected results:
de_DE locale is deployed.
bin/magento setup:static-content:deploy --language=de_DE
Deploy using quick strategy
adminhtml/Magento/backend/de_DE 2416/2416 ============================ 100% 9 secs
frontend/Magento/blank/de_DE 2486/2486 ============================ 100% 7 secs
frontend/Magento/luma/de_DE 2504/2504 ============================ 100% 8 secs
Execution time: 27.062166929245
Actual results:
en_US locale deployed instead of de_DE:
bin/magento setup:static-content:deploy --language=de_DE
Deploy using quick strategy
adminhtml/Magento/backend/en_US 2416/2416 ============================ 100% 2 secs
frontend/Magento/blank/en_US 2486/2486 ============================ 100% 1 sec
frontend/Magento/luma/en_US 2504/2504 ============================ 100% 2 secs
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.