Ethereum-org-website: Set up remaining components & pages for translations

Created on 1 Dec 2020  路  6Comments  路  Source: ethereum/ethereum-org-website

Is your feature request related to a problem? Please describe.

Catch-all issue to set up remaining components & pages for translations. Feel free to knock any/each component in individual PRs!

Describe the solution you'd like

Refactor components:

  • [x] AssetDownload
  • [x] BugBountyPoints
  • [x] CallToContribute
  • [x] Codeblock
  • [x] DocsNav
  • [x] EthExchanges
  • [x] FileContributors
  • [x] ProductList
  • [x] SectionNav
  • [x] TranslationsInProgress
  • [x] TutorialMetadata

Refactor page components:

  • [x] languages.js

Refactor template components:

  • [x] docs.js

For each component:

  1. Move the English copy into /intl/en.json
  2. Replace the English copy with our <Translation/> component and/or the translateMessageId function

Describe alternatives you've considered

Additional context

Similar work to #1937 & #1936 - see associated PRs for solution.

Content Feature Translation

Most helpful comment

@ph5500 Not sure where you're at, if you're working on this now, but the bottom ones didn't take terribly long and I'm currently on EthExchanges which is slightly more involved, so I'll stop after this one.

All 6 comments

@ryancreatescopy @wackerow @ph5500 could definitely use your help with these if you have any capacity over the next few days 馃槃 - we're trying to finish these & upload our new content files for translations by the end of this week 馃槄

Feel free to ping me here / message me in Discord if you have any questions! Happy to hop on a call & walk through how to do this.

I will start working on these from the bottom of the list upward

@ryancreatescopy I'm curious to hear your thoughts re: the TableOfContent.js component & docs.js template.

Given the current translation process (English copy --> Crowdin translations --> Github files), we only show the "Edit this page" button link to Github for English pages. I suppose we should do the same for the "This page is incomplete" banner (i.e. hide it unless it's an English page)? Or should we reconsider this flow?

I can start working from the top of the list down if that works.

@ph5500 Not sure where you're at, if you're working on this now, but the bottom ones didn't take terribly long and I'm currently on EthExchanges which is slightly more involved, so I'll stop after this one.

Amazing work @wackerow @ph5500 馃挭 - love the quick turnaround! Our global visitors will soon thank you 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fluffays picture fluffays  路  6Comments

samajammin picture samajammin  路  5Comments

samajammin picture samajammin  路  6Comments

filmblackeye picture filmblackeye  路  3Comments

davidAg9 picture davidAg9  路  5Comments