# Translation contribution

**URL:** <https://discourse.processing.org/t/translation-contribution/18261>\
**Category:** Development\
**Created:** [March 1, 2020, 1:42am UTC](https://discourse.processing.org/t/translation-contribution/18261 "2020-03-01T01:42:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phe0](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/phe0/32/8529_2.png) [@phe0](https://discourse.processing.org/u/phe0)\
**Post date:** [March 1, 2020, 1:42am UTC](https://discourse.processing.org/t/translation-contribution/18261/1 "2020-03-01T01:42:42Z")

</div>

Hello,  
I’ve been working on the translation of the p5.js website to portuguese, but I did not understand how to the reference section should work, it doesn’t have an english json file, but it has an es.json file, the parameters and return are like this.

```auto
    "alpha": {
      "description": "Extrai o valor de alpha de uma corem um array de pixels.",
      "params": ["Objeto: objeto p5.Color o arreglo de pixeles"],
      "returns": "o valor do alpha"
    },

```

but the english site is like this

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/2/23644d6e90a0298696d1cad42d416a09b15c4a48.png)

could anyone explain how should I format it?

Thank you

---

<div class="post-metadata">

**Author:** ![anon94203042](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@anon94203042](https://discourse.processing.org/u/anon94203042)\
**Post date:** [March 1, 2020, 2:00am UTC](https://discourse.processing.org/t/translation-contribution/18261/2 "2020-03-01T02:00:41Z")

</div>

I don’t know Portuguese but…

Keywords should still be in English, so `p5.Color` should still be `p5.Color`.

Oh, and good luck on the translations!
