Install new language 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 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?

Ref: magenest