0

When I run php bin/magento setup:static-content:deploy

Only en_US folder is created in below folder /var/www/html/pub/static/frontend/Magento/blank/

fr_FR folder is not created until I run php bin/magento setup:static-content:deploy fr_FR

can someone tell me why this happens?

Dinker
  • 21
  • 5

1 Answers1

0

There seems a Magento bug raised for this and the fix will be available in 2.2. Please read this discussion for more information

https://github.com/magento/magento2/issues/4229

Ajith
  • 639
  • 6
  • 21
  • the issue seems to be persistent even in the 2.1.7 release, have you worked on other locales except en_US ? – Dinker Sep 19 '17 at 16:06
  • Yes, it exists in 2.1.9 as well. They have merged fix to 2.2. Yes, Most of the products I worked in are en_AU based and en_UK. So, I used locale as inline parameter. And it improves the performance as well – Ajith Sep 21 '17 at 05:58
  • Thanks, looks like I have to run deployment for each locale manually then :( – Dinker Sep 21 '17 at 13:27
  • 2
    No, you can deploy multiple locales at once php bin/magento setup:static-content:deploy fr_FR en_US en_AU – Ajith Sep 21 '17 at 13:36
  • I mean, only `php bin/magento setup:static-content:deploy` is not enough I guess, however it created the fr_FR folder some times but doesn't creates all the files – Dinker Sep 21 '17 at 18:35