C O D I T R O N

Technologies

How To Set Up Multilingual Store: Magento2

By, Rutuja Korpe
16th August 2022

Magento2 is a robust e-commerce platform and compasses another very strong feature which is Multilingual functionality. This will provide your E-Commerce store with a global grep. If you have any plan to cater to multiple countries or if you’re already selling in multiple countries but still having your website in one language then this feature is a must to expand your e-business on the global level.
Magento2 multilingual stores are crafted for new alluring customers from all over the world and represent your online e-Store in multiple languages like English, French, German, Spanish and many more as per your business needs.

Now, we will create a Magento2 store with the additional French language. So, the first thing is to install language packages. I will use the one downloaded from Mazeplaza. Now, there are 2 most familiar installation ways. The first way is to install using composer and another way install manually. I prefer to download and install manually French language pack.

After downloading the language pack, copy it inside the Magento app directory, create a new folder i18n, Create Folder named after the vendor and lastly create a folder using store language codes, in our case it’s FR_fr.

So, the path will look like this:

magento_install_dir/app/i18n/vendor_name/fr_FR/…

 Now, run the below commands:

 php bin/magento setup:upgrade

 php bin/magento setup:static-content:deploy fr_FR

To create a multi-language Magento 2 store follow the steps below:

  1. Add a New Store View:
  • Go to Stores – Configuration – All store and press Create new store view button.
  1. Fill in the Store View Information:
  • Choose store the store-view will be linked to in Store select box.
  • In the Name, fieldset the name of the store-view.
  • Set the code of the store-view (it can be used in the URL).
  • Enable the store view in the Status select box.
  • Once you have finished with all the changes don’t forget to press the Save Store View button.
  1. Edit Store View:
  • After Save, we will have store views named English (Default store) and a new French store.
    Also, we can able to change the store view name as per our choice. 
  1. Set Locale:
  • The next important thing is Locale, here you need to select which language store will speak, and based on that we will install a language pack.

Once creating a new store view has been done, you have to set its locale by going to Stores > Configuration > Store View > Store View Name.

  • In the General section find Locale Options and set a language for the store view and press the Save Config button.
  •   After all this configuration you should reindex magento2 and deploy the store.
  1. Check Frontend:
  • So right now we will have a store switch on the front end.
  • Now, see the store covert into the french language.

 Finally, when you have already added and activated different languages in the store, you will need to add local currencies. To learn how to set up multiple currencies in Magento 2, you will find all the details in:

Set Up Multiple Currencies In Magento 2

Conclusion:

With the multi-store Magento 2 feature, you can avoid limiting your target audience to English speakers. With the ability to talk to a variety of people in their native languages, you will be able to get more sales and attract more customers, both existing and new. Hopefully, with the tips explained in this article, you will be able to set up a multilanguage store quickly and with ease. In any case, just contact us if you need any assistance with any part of setting up the Magento 2 multi-store. 

Hope this helps!

Coditron Technologies

Contact Us

Address

Corporate Office : Greens Center, Thergaon Pune 411033

Operation Office: USA: PO Box # 582973 ElkGrove CA 95758