Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted
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
share|improve this answer
    
thanks Marius! :) – Jimmery Mar 15 at 15:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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