1. Home
  2. Specific Platform Questio...
  3. Magento/Adobe Commerce
  4. How to add new language in Magento 2?

How to add new language in Magento 2?

To add a new language in Magento 2, install the appropriate language pack and create a separate store view for that language:

  • Install a compatible language pack from the Commerce Marketplace or another trusted provider. This normally requires Composer and server access.
  • In Magento Admin, go to Stores > Settings > All Stores and select Create Store View.
  • Then complete the fields as follows and click Save Store View when finished:
    • Store: Select the parent store where the new language will be available.
    • Name: Enter the language name that customers will see, such as French or German.
    • Code: Add a unique lowercase code without spaces, such as french, fr, or de.
    • Status: Select Enabled to make the store view available.
    • Sort Order: Enter a number to determine its position in the store-view selector. A lower number appears first.
Create-Spanish-Store-View
  • Go to Stores > Settings > Configuration and select the new store view from the Scope menu.
  • Open General > Locale Options, clear Use Website, select the required Locale, and save the configuration.
Configuring-Locale store view
  • Clear the Magento cache and deploy static content for the new locale if required.

Changing the locale translates supported Magento interface text, such as buttons and labels. Product names, descriptions, categories, CMS pages, blocks, and metadata must still be translated separately for the new store view.

In case you have any other questions, please email us at [email protected].

Was this article helpful to you? No Yes

How can we help?