Magento 2.1.7 – How to Change Default Language to French

languagelocalisationmagento-2.1.7

I am working with Magento 2.1.7 and I want to set up a website that will completely display in French.

I did install the community version, 2.1.7 of it and it works well.

But I am trying to change the default language to French and it's a bit hard to do (Two weeks later, It is still not done).

I did change the language to French in Store configuration > General :

  • Country Options
  • Locale Options
  • Site Information

But everything is still in English.

I found a lot of tutorials on that issue. But they all talk about previous versions of Magento 2.x. This one (the 2.1.7) seems a bit different.

Can anybody help me find out How to Change The Default Language To French or another language?

Best Answer

For translate you have to install language pack. For that download language pack and put at magentoroot/app/i18n/vendor/fr_fr ref: Magento 2 : How to install new language pack

Change language of frontend : Store > Configuration > General > Locale Options

Change language of backend : System > All Users > Click Any User and change Interface Locale

Then fire below commands:

  • php bin/magento cache:flush
  • php bin/magento setup:upgrade
  • php bin/magento setup:static-content:deploy fr_FR
  • php bin/magento cache:flush