ethereum / ethereum-org-website

Ethereum.org is a primary online resource for the Ethereum community.
https://ethereum.org/
MIT License
5.08k stars 4.83k forks source link

Site Translation: Update Brazilian Portuguese to v1.1 #1647

Closed samajammin closed 4 years ago

samajammin commented 4 years ago

Challenge Description

Brazilian Portuguese translations have completed review & are ready to be added to the website!

Submission Requirements

  1. Download the files from CrowdIn for this version of the content (Contents v.1.1) - here's a screenshot showing how. You may need to sign up for Crowdin & join our project in order to download the files - here's the invite link.

  2. Copy in the v1.1 Crowdin files:

    • Replace all files within the /src/content/translations/pt-br/ directory & add any new files, keeping the same directory structure as CrowdIn (i.e. each page is a subdirectory with an index.md filename, a strings.json & an index.md at the root of the directory)
    • Copy the strings.json file into the /src/intl/ directory & rename it to pt-br.json (i.e. /src/intl/pt-br.json), replacing the existing file
    • Delete the root index.md file (i.e. /src/content/translations/pt-br/index.md)
    • Beforehand: within the index.md file, move the title value & og:description's content property into the pt-br.json file from the previous step. Use the keys "page-home-meta-title" & "page-home-meta-description" as keys for these values. (See en.json as an example for how this should look)
    • Delete the /build/ directory (i.e. /src/content/translations/pt-br/build/)
    • Beforehand: within the index.md file of /build/, move the title value & og:description's content property into the pt-br.json file from the previous step. Use the keys "page-build-meta-title" & "page-build-meta-description" as keys for these values. (See en.json as an example for how this should look)
  3. Within each newly added markdown file...

    • Ensure each file is valid markdown (sometimes Crowdin throws in some wacky HTML elements, like a <br> or a <em>, that breaks the site build)
    • Update the frontmatter:
    • Update the lang property (it should be it)
    • Remove any og:title or og:description properties - replace those contents with title & description field names
    • Update all sidebar fields from auto to true
    • Increase all sidebarDepth fields by 1 (e.g. 0 --> 1 & 1 --> 2)
    • (It might help to use this commit as a reference)
  4. Update the pt-br object in the languageMetadata object within /src/utils/translations.js from version: 1.0 to version: 1.1

Additional context

See this recent PR as a guide: https://github.com/ethereum/ethereum-org-website/pull/1455

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 20.0 DAI (20.0 USD @ $1.0/DAI) attached to it as part of the ethereum fund.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 266 years, 1 month from now. Please review their action plans below:

1) canokaue has applied to start work _(Funders only: approve worker | reject worker)_.

I'm a native Brazilian and ETH dev so I can help out with that. 2) dj-powehi has applied to start work _(Funders only: approve worker | reject worker)_.

I am from Brazil and know english so, I can help you in this bounty. 3) ph5500 has been approved to start work.

I will translate the files to v1.1 by following the instructions below. 4) sebastiantf has applied to start work _(Funders only: approve worker | reject worker)_.

Easy task. I have experience doing this before. Can complete it ASAP

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 20.0 DAI (20.0 USD @ $1.0/DAI) has been submitted by:


gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 20.0 DAI (20.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @ph5500.