In this tutorial, I will show you how to contribute Indonesian language pack
First of all, you should fork the repo. In the top-right corner of the page, click Fork.
Let's me explain the workflow:
-
It will automatically pull translated strings from Crowdin daily.
-
github_contributions.csv has been contributed by Mageplaza and Magento community.
-
We will merge github_contributions.csv with id_ID.csv. Your Magento 2 store will use this csv file.
So, you should contribute to github_contributions.csv
file.
The github_contributions.csv
is saparated line by line, see:
"Create Order","Crear pedido",module,Magento_AdvancedCheckout
- "Create Order": Original string
- "Crear pedido": Translated string
- module: declare module syntax
- Magento_AdvancedCheckout: module scope (only translate in this module)
Fom the begining, github_contributions.csv
is empty, you guys should add more translations into it.
- You can copy apart of
id_ID.csv
intogithub_contributions.csv
then translate them.
- Now time to contribute, commit your work to this repo.
- After commit, it will ask you to create a pull request, so please create a pull request then will check and approve it.
You can install this language package via composer and other people can install / contribute this language pack.
Happy translating!