zh-hant.react.dev icon indicating copy to clipboard operation
zh-hant.react.dev copied to clipboard

New Traditional Chinese Translation Progress

Open neighborhood999 opened this issue 4 years ago • 51 comments

Maintainers

  • @chloewlin
  • @chentsulin
  • @neighborhood999
  • @bugtender

For New Translators

To translate a page:

  1. Check that no one else has claimed your page in the checklist and comments below.
  2. Comment below with the name of the page you would like to translate. Please take only one page at a time.
  3. Clone this repo, translate your page, and submit a pull request!

Before contributing, read the glossary and style guide (once they exist) to understand how to translate various technical and React-specific terms.

Please be prompt with your translations! If you find that you can't commit anymore, let the maintainers know so they can assign the page to someone else.

For Maintainers

When someone volunteers, edit this issue with the username of the volunteer, and with the PR. Ex:

  • [ ] Quick Start (@tesseralis) #12345

When PRs are merged, make sure to mark that page as completed!

Main Content

To do before releasing as an "official" translation. Please translate these pages first.

Note that each section has an index page, which needs to be translated too.

Learn React

  • [x] Quick Start (@neighborhood999) #399

    • [ ] Tutorial: Tic Tac Toe (@neighborhood999)
    • [ ] Thinking in React (@neighborhood999)
  • [x] Installation (@neighborhood999) #385

    • [x] Start a New React Project (@neighborhood999) #379
    • [x] Add React to an Existing Project (@neighborhood999) #384
    • [x] Editor Setup (@neighborhood999) #269
    • [x] React Developer Tools (@neighborhood999) #287
  • [x] Describing the UI (@yuaanlin) #312

    • [x] Your First Component (@JamieLoLo) #483
    • [x] Importing and Exporting Components (@JamieLoLo) #484
    • [ ] Writing Markup with JSX (@Owonie)
    • [x] JavaScript in JSX with Curly Braces (@kai2128) #364
    • [ ] Passing Props to a Component (@kai2128) #365
    • [x] Conditional Rendering (@brian3814) #383
    • [x] Rendering Lists (@rccj)
    • [x] Keeping Components Pure (@viboloveyou12) #414
  • [ ] Adding Interactivity

    • [x] Responding to Events (@yishuolin) #407
    • [ ] State: A Component's Memory (@alpheustangs) #406
    • [x] Render and Commit (@Jim876633) #387
    • [x] State as a Snapshot (@Annie-Chien) #388
    • [ ] Queueing a Series of State Updates (@Jim876633) #417
    • [ ] Updating Objects in State (@ginger-lemon)
    • [ ] Updating Arrays in State (@ginger-lemon)
  • [ ] Managing State

    • [ ] Reacting to Input with State (@max80713)
    • [ ] Choosing the State Structure (@max80713)
    • [ ] Sharing State Between Components (@max80713)
    • [ ] Preserving and Resetting State (@nathanlao)
    • [ ] Extracting State Logic into a Reducer
    • [ ] Passing Data Deeply with Context (@ShenHdian)
    • [ ] Scaling Up with Reducer and Context
  • [x] Escape Hatches (@rayatn1011) #381

    • [ ] Referencing Values with Refs (@rayatn1011)
    • [ ] Manipulating the DOM with Refs (@Kate-Chu)
    • [ ] Synchronizing with Effects (@Kate-Chu)
    • [ ] You Might Not Need an Effect (@dracarys55)
    • [ ] Lifecycle of Reactive Effects
    • [ ] Separating Events from Effects (@dracarys55)
    • [ ] Removing Effect Dependencies
    • [ ] Reusing Logic with Custom Hooks (@ginger-lemon)

API Reference

  • [ ] react: Hooks

    • [ ] useCallback (@trevlee0212)
    • [ ] useContext
    • [ ] useDebugValue
    • [ ] useDeferredValue
    • [ ] useEffect (@ukea)
    • [ ] useId
    • [ ] useImperativeHandle
    • [ ] useInsertionEffect
    • [ ] useLayoutEffect
    • [ ] useMemo
    • [ ] useReducer
    • [ ] useRef
    • [ ] useState
    • [ ] useSyncExternalStore
    • [ ] useTransition
  • [ ] react: Components

    • [ ] <Fragment> (<>)
    • [ ] <Profiler>
    • [ ] <StrictMode>
    • [ ] <Suspense>
  • [ ] react: APIs

    • [ ] createContext
    • [ ] forwardRef
    • [ ] lazy
    • [ ] memo
    • [ ] startTransition
  • [ ] react-dom: Components

    • [ ] Common (e.g. <div>)
    • [ ] <input>
    • [ ] <option>
    • [ ] <progress>
    • [ ] <select>
    • [ ] <textarea>
  • [ ] react-dom: APIs

    • [ ] createPortal
    • [ ] flushSync
    • [ ] findDOMNode
    • [ ] hydrate
    • [ ] render
    • [ ] unmountComponentAtNode
  • [ ] react-dom/client: Client APIs

    • [ ] createRoot
    • [ ] hydrateRoot
  • [ ] react-dom/server: Server APIs

    • [ ] renderToNodeStream
    • [ ] renderToPipeableStream
    • [ ] renderToReadableStream
    • [ ] renderToStaticMarkup
    • [ ] renderToStaticNodeStream
    • [ ] renderToString

Navigation and UI

We suggest to leave most of the UI translation until the end. We plan to do some invasive changes to the website folder layout and components, so postponing this until your translation is almost complete would make it easier to merge the changes from our side later. It might make sense to translate the homepage above the fold early, but leave the rest for later. As individual pages get translated, you can change the page titles in the corresponding sidebar files. Finally, when you're translating the navigation, make sure to test both desktop and mobile layouts.

  • [ ] Homepage (currently in HomeContent.js)
  • [ ] Sidebars (currently in src/sidebar*.json)
  • [ ] Top-level navigation (currently in TopNav.tsx)

When You're Ready...

After everything above is translated, add your language to deployedLanguages in Seo.tsx of the original reactjs/react.dev repository.

Secondary Content

These API pages should ideally be translated too, but they're less urgent and can be done after the others:

  • [ ] Legacy React APIs
    • [ ] Children
    • [ ] cloneElement
    • [ ] Component
    • [ ] createElement (@c0dedance)
    • [ ] createFactory
    • [ ] createRef
    • [ ] isValidElement
    • [ ] PureComponent

Optional Content

These aren't the main translation targets, but if you'd like to do them, feel free to expand the list to include their subpages:

  • [ ] Community
  • [ ] Blog
  • [ ] Warnings

neighborhood999 avatar Dec 01 '21 14:12 neighborhood999

the translated docs not published?

yuu2lee4 avatar Apr 08 '22 09:04 yuu2lee4

For people who don't know where to find the translated BETA doc. Here's the link https://beta.zh-hant.reactjs.org. 😀

bugtender avatar Jun 13 '22 22:06 bugtender

Hi @neighborhood999 , I want to make contributions to the translation of the Beta Docs. However, the code base seems to be not syncing correctly with https://github.com/reactjs/reactjs.org for a while. https://beta.zh-hant.reactjs.org/ is outdated!

Is there anything I can help with?

K4Lok avatar Feb 14 '23 08:02 K4Lok

Hi @neighborhood999 , I want to make contributions to the translation of the Beta Docs. However, the code base seems to be not syncing correctly with reactjs/reactjs.org for a while. beta.zh-hant.reactjs.org is outdated!

Is there anything I can help with?

Hi @K4Lok , thanks for your question. Yes, the current docs are out of date from the latest docs, in the PR list has many sync PRs and I will resolve conflicts and then you can make docs contribution.

neighborhood999 avatar Feb 16 '23 01:02 neighborhood999

Hi @neighborhood999 I want to make contributions to translate "Referencing Values with Refs", "Manipulating the DOM with Refs", and "Synchronizing with Effects" (which is not shown on the list yet? Can I translate it also?) Thank you! :D

Kate-Chu avatar Mar 07 '23 02:03 Kate-Chu

Hi @neighborhood999 I want to make contributions to translate "Referencing Values with Refs", "Manipulating the DOM with Refs", and "Synchronizing with Effects" (which is not shown on the list yet? Can I translate it also?) Thank you! :D

Hi @Kate-Chu, thank you for helping, I added your name to the corresponding documents.

neighborhood999 avatar Mar 07 '23 08:03 neighborhood999

Hi @neighborhood999 I want to make contributions to translate "Your First Component", "Importing and Exporting Components" and "Writing Markup with JSX" . Thank you :)

JamieLoLo avatar Mar 08 '23 09:03 JamieLoLo

Hi @neighborhood999 I want to make contributions to translate "Your First Component", "Importing and Exporting Components" and "Writing Markup with JSX" . Thank you :)

Hi @JamieLoLo thank you for helping translation, I added you to the above list. For the term, if you are not sure how to translate you can check Glossary.

neighborhood999 avatar Mar 09 '23 05:03 neighborhood999

Hi @neighborhood999 I want to make contributions to translate "Reacting to Input with State", "Choosing the State Structure", and "Sharing State Between Components". Thank you 😋

max80713 avatar Mar 20 '23 09:03 max80713

Hi @neighborhood999 I want to make contributions to translate "Reacting to Input with State", "Choosing the State Structure", and "Sharing State Between Components". Thank you 😋

Hi @max80713 thank you for helping, updated the above list.

neighborhood999 avatar Mar 22 '23 02:03 neighborhood999

Hi @neighborhood999 I would like to contribute on:

  • JavaScript in JSX with Curly Braces #364
  • Passing Props to a Component #365

kai2128 avatar Mar 22 '23 08:03 kai2128

Hi @neighborhood999 I would like to contribute on:

* JavaScript in JSX with Curly Braces [docs: translation JavaScript in JSX #364](https://github.com/reactjs/zh-hant.reactjs.org/pull/364)

* Passing Props to a Component [docs: translation Passing Props to a Component #365](https://github.com/reactjs/zh-hant.reactjs.org/pull/365)

Thanks for your contribution, I updated the above list and I will review them.

neighborhood999 avatar Mar 29 '23 02:03 neighborhood999

HI @neighborhood999

I have submitted the following three documents as a pull request to the repository. As this is my first time participating in a translation project, I would like to ask if the submission process has been completed correctly. Thank you.

docs: translation Your First Component #368 docs: translation Importing and Exporting Components #369 docs: translation Writing Markup with JSX #370

JamieLoLo avatar Apr 04 '23 13:04 JamieLoLo

HI @neighborhood999

I have submitted the following three documents as a pull request to the repository. As this is my first time participating in a translation project, I would like to ask if the submission process has been completed correctly. Thank you.

docs: translation Your First Component #368 docs: translation Importing and Exporting Components #369 docs: translation Writing Markup with JSX #370

@JamieLoLo Yes, no worries :). I will review these PRs and thanks for your contribution.

neighborhood999 avatar Apr 10 '23 01:04 neighborhood999

Hi folks,

Just a heads-up that we've done our best to bring main and legacy branches up-to-date with upstream. This brings you to the latest visual design and sets up all the redirects. We don't anticipate more changes necessary on legacy. For main, there's a few things you need to be aware of:

  • Keep in mind translating UI is best done closer to the end. We plan to make non-trivial code changes to the repo over the next few months. So it's best to focus on the content rather than on UI components.
  • The homepage is untranslated so ideally it would be good if you could do a pass at that. For now, unfortunately it requires messing with the code file.
  • A few rewritten pages (from Installation) are currently untranslated.
  • This was a massive PR to merge, so we might have regressed somewhere or missed some changes that needed to be translated. Ideally, it would be great if you could go over the already-translated pages at your own pace and verify nothing important got lost.

Thank you so much for your cooperation!

gaearon avatar Apr 24 '23 16:04 gaearon

I've updated the checklist.

gaearon avatar Apr 25 '23 04:04 gaearon

@chloewlin @chentsulin @neighborhood999 @bugtender @haimengzhang

Hi folks, can you please confirm which of you will be able to steer and maintain this translation? We'd like to get the maintainer list in https://github.com/reactjs/translations.react.dev/blob/main/langs/zh-hant.json accurate and up-to-date. Thank you!

gaearon avatar Apr 25 '23 15:04 gaearon

@chloewlin @chentsulin @neighborhood999 @bugtender @haimengzhang

Hi folks, can you please confirm which of you will be able to steer and maintain this translation? We'd like to get the maintainer list in reactjs/translations.react.dev@main/langs/zh-hant.json accurate and up-to-date. Thank you!

Hi @gaearon, thank you for helping. The current maintainer has:

  • @chloewlin
  • @chentsulin
  • @neighborhood999
  • @bugtender

neighborhood999 avatar Apr 26 '23 00:04 neighborhood999

Hi @neighborhood999 I want to make contributions to translate "Render and Commit" Thank you !

Jim876633 avatar Apr 27 '23 05:04 Jim876633

Hi @neighborhood999 I want to make contributions to translate "Render and Commit" Thank you !

Hi @Jim876633 , thank you for helping. I updated the list.

neighborhood999 avatar Apr 27 '23 23:04 neighborhood999

Hi @neighborhood999, I would like to contribute by translating "Conditional Rendering". Thank you!

brian3814 avatar Apr 29 '23 13:04 brian3814

Hi @neighborhood999, I would like to contribute by translating "Conditional Rendering". Thank you!

Thank you for helping. Updated the above list.

neighborhood999 avatar Apr 29 '23 13:04 neighborhood999

Hi @neighborhood999, I would like to contribute by translating "Escape Hatches". Thank you!

rayatn1011 avatar Apr 29 '23 19:04 rayatn1011

Hi @neighborhood999, I'd like to make contributions to translate "State as a Snapshot". Thank you!

Annie-Chien avatar May 01 '23 05:05 Annie-Chien

Thanks @rayatn1011 and @Annie-Chien for contribution.

neighborhood999 avatar May 02 '23 05:05 neighborhood999

Hi @neighborhood999, I would like to contribute by translating "Referencing Values with Refs". Thank you!

BTW, I think "Describing the UI" has been translated.

rayatn1011 avatar May 03 '23 15:05 rayatn1011

Hi @neighborhood999, I would like to contribute by translating "Quick Start". Thank you!

rccj avatar May 16 '23 07:05 rccj

Hi @neighborhood999, I would like to contribute by translating "Quick Start". Thank you!

Hi @rccj Sorry, I forgot to update the list, I already started translation "Quick Start", can you choose another one? Thanks

neighborhood999 avatar May 16 '23 07:05 neighborhood999

Hi @neighborhood999, I would like to contribute by translating "Rendering Lists " and "Keeping Components Pure". Thank you!

rccj avatar May 16 '23 07:05 rccj

Hi @neighborhood999, I would like to contribute by translating "Rendering Lists " and "Keeping Components Pure". Thank you!

@rccj updated it!

neighborhood999 avatar May 16 '23 09:05 neighborhood999