cancel
Showing results for 
Search instead for 
Did you mean: 

Where to install new language pack and how to change locale in Magento 2

Where to install new language pack and how to change locale in Magento 2

Hello.... I have downloaded a translation file for Spanish (source.csv) from Magento 2 translation site. Then I added the language pack into app/i18n/es_es folder. Language pack consists on composer.json, es_es.csv, language.xml and registration.php.

 

After all done, I have changed store locale to Spanish (Spain) but nothing happened. What can i do?

 

I have also issued: php bin/magento setup:upgrade, but it did not work.

 

Thanks

Jaime

2 REPLIES 2

Re: Where to install new language pack and how to change locale in Magento 2

A Magento 2 language package is just an extension so you should not "download" it manually but should install it through Composer.

For example: how to install an extension from a Git repository: https://mage2.pro/t/25

Re: Where to install new language pack and how to change locale in Magento 2

A tutorial How to create a new language package in Magento 2

I hope it will save your time.