Switching your store to Vietnamese according to Magento 2 Vietnamese Language Pack instruction. The transformation will cover both storefront and backend on Magento 2 store. It is time to focus on the localization language when there is any plan to enter the international market as Vietnam. This will help you eliminate the language barrier for the better commerce.
The language package is contributed by the native Vienamese speakers from Magento 2 Translation Project, so the quality of the convertion is surely guanranteed. Then, you will donwload and install the zip file that compress all translated phrases into Vietnamese.
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 Vietnamese Language Pack immediately!
Install the Vietnamese language pack via composer is never easier.
Install Vietnamese pack:
composer require mageplaza/magento-2-vietnamese-language-pack:dev-master php bin/magento setup:static-content:deploy vi_VN php bin/magento cache:clean php bin/magento cache:flush
Update Vietnamese pack:
composer update mageplaza/magento-2-vietnamese-language-pack:dev-master php bin/magento setup:static-content:deploy vi_VN php bin/magento indexer:reindex php bin/magento cache:clean php bin/magento cache:flush
Install the Vietnamese 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-vietnamese-language-pack/raw/master/vi_VN.csv php bin/magento i18n:pack -m replace vi_VN.csv vi_VN php bin/magento setup:static-content:deploy vi_VN 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 Vietnamese (Vietnam) and click
It comes to the end of tutorial: Magento 2 Vietnamese Language Pack.