Malaysia language Pack for Magento 2 Community Edition (Version 2.3.0)
The translation was made by Malaysian native speakers at their own discretion. The translation is not fully 100% completed. You are welcome to make contribution for changes or to rework the entire repository if deviating translations are to be introduced.
- Copy all files to
/app/i18n/ghoster/ms_MY/
From the Magento root directory, invoke the following commands:
php bin/magento setup:static-content:deploy -f ms_MY
php bin/magento setup:upgrade
rm -rf var/di
php bin/magento setup:di:compile
composer require ghoster/mage2-locale-ms-my
php bin/magento setup:static-content:deploy ms_MY
To translate new phrases follow these steps:
Run this in your Magento 2 installation:
php bin/magento i18n:collect-phrases -m > phrases.csv
Copy the phrases.csv
into this repository and run:
php check_new.php
This will output a new file ms_MY_new.csv
which only contains the
phrases that are not yet translated in ms_MY.csv
.
Now you should translate these phrases. Enter the translated phrase in the second column.
Malaysian language in Magento has 2 code:
Nginx: ms_MY
Apache: ms_Latn_MY
So you want to install for Apache server, just change the package as you want to.
Copy the new phrases to ms_MY.csv
.
IMPORTANT: sort the file alphabetically based on the first column, e.g. with LibreOffice and don't add line without double quote "string"
Now create a new pull request with your changes!