Install New Languages In Magento 2

Mai Xuan Truong
Install New Languages In Magento 2

In Magento, the default language is English. So the question now is: Can we add new languages to our Magento site?

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

Step 1: Installing a new language package

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

  • German:
  • Dutch:
  • France:

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

Then, go to your magento2 directory and run this command in the 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.

 a new language package

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

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

If you got any problems while following our instructions, or you’re interested in learning more about our Magento development services, don’t hesitate to contact us now!

Latest Insights

How to Start a Shopify Store in Just Over an Hour Course

Don't want to miss out on our latest insights?
Subscribe to our newsletter.

Disclaimer: By clicking submit, you agree to share your information with us to receive news, announcements, and resources when they are available.