Showing results for 
Search instead for 
Did you mean: 

How to apply magento 2 translation?

How to apply magento 2 translation?

**What i want?**

I want to translate Magento 2 to Serbian language.

**What i did?**

I followed instructions on magento official guide for making a language package. I followed the "create a language package example" guide on this link

After that i ran these commands in order:

- magento setup:upgrade
- magento cache:flush

**What happened?**

Well nothing actually happened. There is no change on website.


- distro: centos 7
- Single-Store Mode is enabled
- magento version: 2.3.3
- name of the language file: sr_CS.csv

Package folder content:

composer.json language.xml registration.php sr_CS.csv



Re: How to apply magento 2 translation?

Please follow the below to resolve this


First install Serbian Language Pack

composer require mageplaza/magento-2-serbian-latin-language-pack:dev-master // Install
composer update mageplaza/magento-2-serbian-latin-language-pack:dev-master // Update

Then Apply
php bin/magento setup:static-content:deploy sr_CS
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush


Activate the language pack
From Magento 2 admin panel : Stores -> Configuration -> General -> Locale Options


Let me know if any issues

If my answer is useful, please Accept as Solution & give Kudos