Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 2.19 KB

HOW-TO-CONTRIBUTE.md

File metadata and controls

55 lines (30 loc) · 2.19 KB

How to contribute Catalan Language pack

In this tutorial, I will show you how to contribute Catalan language pack

Step 1: Download

First of all, you should fork the repo. In the top-right corner of the page, click Fork. fork

Step 2: Update github_contributions.csv

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 ca_ES.csv. Your Magento 2 store will use this csv file.

So, you should contribute to github_contributions.csv file.

How to edit file github_contributions.csv

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.

Suggestions

  • You can copy any part of ca_ES.csv and paste to github_contributions.csv then translate it.
  • Please do not copy all lines in ca_ES.csv, we will not approve it in this case.

Step 3: Contribute

  • 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!