How to install Magento 2 Urdu Language Pack on Magento 2 store? The best explanation will be pointed out in this topic with the same topic that is built by Mageplaza team. The post allows replacing the default language (English) by the native one (Urdu). That is great idea when your business is growing in Parkistan. Thanks to that, you will gain the expectable results in the conversion.
In this guide, not only the installation guide, you are also directed how to get the translation file through clicking on “Download .zip” button. All requirements to apply the Urdu on the entire store are referred fully and apparently. Take a look at the post now!
Other language packages 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 Urdu Language Pack immediately!
Install the Urdu language pack via composer is never easier.
Install Urdu pack:
composer require mageplaza/magento-2-urdu-language-pack:dev-master php bin/magento setup:static-content:deploy ur_PK php bin/magento cache:clean php bin/magento cache:flush
Update Urdu pack:
composer update mageplaza/magento-2-urdu-language-pack:dev-master php bin/magento setup:static-content:deploy ur_PK php bin/magento indexer:reindex php bin/magento cache:clean php bin/magento cache:flush
Install the Urdu language pack via command line.
Download language file to your installation root directory. Now run the following command:
wget https://github.com/mageplaza/magento-2-urdu-language-pack/raw/master/ur_PK.csv php bin/magento i18n:pack -m replace ur_PK.csv ur_PK php bin/magento setup:static-content:deploy ur_PK php bin/magento cache:clean 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 active the language pack for your Magento 2 store. From Magento 2 admin panel, navigate to
Stores > Configuration > General > Locale Options
Select Urdu (Pakistan) and click
It comes to the end of tutorial: Magento 2 Urdu Language Pack.