Magento 2 platform approves multiple languages around the world, so Magento 2 Spanish Language Pack is created to conduct the change of language via the in-line translation dictionary on Magento 2 store. The in-line translation dictionary is developed based on the community project at Crowdin where you can download over 12,000 phrases in Spanish to replace the default language. Magento 2 Spanish Language Package will involve the list of comprehensive guides which are essential for the perfect translation. Please keep tracking the topic to finish the interpretation at all.
Other language packages are available at language packs page
Below are two active buttons which are required operations before installing the language package. Let’s hit them to download and contribute Magento 2 Spanish Language Pack immediately!
Help the Magento Community by traslating contribute this project.
Install the Spanish language pack via composer is really easier.
Install Spanish pack:
composer require mageplaza/magento-2-spanish-language-pack:dev-master php bin/magento setup:static-content:deploy es_ES php bin/magento indexer:reindex php bin/magento cache:clean php bin/magento cache:flush
You may get this message:
=> Go to Access Keys page and
Create A New Access Key.
Or use these keys:
Public Key: c7af1bfc9352e9c986637eec85ed53af Private Key: 17e1b72ea5f0b23e9dbfb1f68dc12b53
Update Spanish pack:
composer update mageplaza/magento-2-spanish-language-pack:dev-master php bin/magento setup:static-content:deploy es_ES php bin/magento indexer:reindex php bin/magento cache:clean php bin/magento cache:flush
Install the Spanish language pack via command line.
Download the language file to your installation root directory. Now run the following command:
wget https://github.com/mageplaza/magento-2-spanish-language-pack/raw/master/es_ES.csv php bin/magento i18n:pack -m replace es_ES.csv es_ES php bin/magento setup:static-content:deploy es_ES php bin/magento cache:flush
As a result, a directory langpack will be created that contains proper structure of language files for your installation. Copy it over to your Magento installation and the translations should be visible.
Note: additional directory i18n contains strings for which the module could not be found in your installation. This file can be skipped.
Now time to activate the language pack for your Magento 2 store. From Magento 2 admin panel, navigate to
Stores > Configuration > General > Locale Options
Spanish (Spain) and click
It comes to the end of tutorial: Magento 2 Spanish Language Pack.