Install New Languages In Magento 2

In Magento, the default language is English. So the question now is:

Can we add another language for our Magento site?

Of course it’s a Yes. Just pick the desire language for your site and follow this step-by-step procedure.

Step 1: Installing a new language package

First, locate your desire language package. Here is some language packs in case you are looking for them.

After that, get the composer key of the package such as splendidinternet/mage2-locale-de-de, which is the key for German package.

Then, go your magento2 directory and run this command in terminal:

          composer require splendidinternet/mage2-locale-de-de   (add the composer key behind require)

install new language in Magento 2 upgrade

Finally, upgrade your store and then deploy the new content:

          bin/magento setup:upgrade

          bin/magento setup:static-content:deploy de_DE  (after deploy is the locale tag of the language)

install new language in Magento 2 deploy

Step 2: Configuration

After finished installing the language package, go to your Magento admin site.

Follow this direction: Stores -> Configuration -> General -> Locale Options then Select the language you just installed, or in our case – German (Germany) from the drop-down.

install new language in Magento 2

Finally, click Save config and don’t forget to flush the Magento cache.

Congratulation, you just finished setting up new language for your store site. A piece of cake, right?

If you got any problems while following our instructions, don’t mind leaving your questions in the comment sections.

Subscribe to our newsletter

Disclaimer:By clicking submit, you agree to share your contact information with us to receive news, announcements, and resources when they are available.
Relevant Entries
How To Configure Pinterest API in Magento 220170920200030
Top 10 Magento 2 development agencies around the world20201021104530
7 Best Tips and Guides to be come Magento 2 certified developer20201106095619