Whenever I run php bin/magento setup:static-content:deploy it always generates files for en_US.

I would like it to generate files for en_GB instead.

How do I achieve this?

And is there a reference manual for these command line instructions? I tried looking on the official Magento 2 website, but couldnt find anything.

bin/magento setup:static-content:deploy en_GB  

or if you want for multiple languages:

bin/magento setup:static-content:deploy en_GB en_US ro_RO
| improve this answer | |

You can run below command for deploying Multi Language Website:

php -dmemory_limit=8G bin/magento setup:static-content:deploy ar_MA ar_KW ar_DZ en_US

Also Run below Commands:

chmod -R 777 var pub/static
php70 bin/magento cache:clean
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.