I just did php bin/magento setup:static-content:deploy it_IT.

Then I went to General/Configuration/Locale Options and set:

  • Locale Italia (Italy)
  • Enable Single-Store Mode YES

Then I did php bin/magento cache:clean but I still see contents in English. How can I enable Italian as default locale?

1 Answer 1


To add a language pack you need to download and apply one. For Italian you can download a composer packages from Packagist http://bit.ly/2iVPXgw

cd <root directory>
composer require magento2translations/language_it_it:dev-master
php bin/magento cache:clean

Go to Stores -> Configur ation -> General > General -> Locale options and select "Italian (Italy)" as your locale. Clear the cache and bingo.

  • thx a lot for your answer, it looks promising ;) but I get an error [UnexpectedValueException] RecursiveDirectoryIterator::__construct(/var/www/html/vendor/magento/magento-composer-installer): failed to o pen dir: Permission denied
    – davideghz
    Commented Jan 9, 2017 at 16:56
  • Permissions issue so please ensure your server user is the owner of the files, see magento file permissions topic on devdocs devdocs.magento.com/guides/v2.1/config-guide/prod/…
    – Devtype
    Commented Jan 9, 2017 at 17:10
  • Quick fix which may/may not work but you can try, issue ls -l command in root directory which will show user and group owner of files. Issue command "sudo chown -R user:group ."
    – Devtype
    Commented Jan 9, 2017 at 17:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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