Coming with Magento 2 Croatian Language Pack, you feel free to approach to Croatian audience by their native languages. Mageplaza provides the good instructions to translate more than 12,000 phrases of Magento 2 frontend and backend to Croatian. With Magento 2 Croatian Language Pack, you are wholly confident to expand your brand on Croatia Market.
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 Croatian Language Pack immediately!
Install the Croatian language pack via composer is really easier.
Install Croatian pack:
composer require mageplaza/magento-2-croatian-language-pack:dev-master php bin/magento setup:static-content:deploy hr_HR php bin/magento cache:flush
Update Croatian pack:
composer update mageplaza/magento-2-croatian-language-pack:dev-master php bin/magento setup:static-content:deploy hr_HR php bin/magento cache:flush
Install the Croatian 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-croatian-language-pack/raw/master/hr_HR.csv php bin/magento i18n:pack -m replace hr_HR.csv hr_HR php bin/magento setup:static-content:deploy hr_HR 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
Select Croatian (Croatia) and click
It comes to the end of tutorial: Magento 2 Croatian Language Pack.