In this tutorial, I will show you how to contribute Hindi 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 hi_IN.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 any part of
hi_IN.csv
and paste togithub_contributions.csv
then translate it. - Please do not copy all lines in
hi_IN.csv
, we will not approve it in this case.
- Now time to contribute, commit your work to this repo.
- After committing, it will ask you to create a pull request, so please create a pull request, we will check and approve it.
You can install this language package via composer and other people can install / contribute this language pack.
Contact us if we miss your pull request(s).
Happy translating!