he.react.dev icon indicating copy to clipboard operation
he.react.dev copied to clipboard

New React Docs Translation Progress

Open galnir opened this issue 2 years ago • 30 comments

Maintainer List

  • @galnir
  • @galtalmor
  • @itayyehezkel

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

  • [ ] Quick Start

    • [ ] Tutorial: Tic Tac Toe
    • [ ] Thinking in React
  • [ ] Installation

    • [ ] Start a New React Project
    • [ ] Add React to an Existing Project
    • [x] Editor Setup (@galnir) #278
    • [x] React Developer Tools (@galnir) #279
  • [ ] Describing the UI

    • [ ] Your First Component
    • [ ] Importing and Exporting Components
    • [ ] Writing Markup with JSX
    • [ ] JavaScript in JSX with Curly Braces
    • [ ] Passing Props to a Component
    • [ ] Conditional Rendering
    • [ ] Rendering Lists
    • [ ] Keeping Components Pure
  • [ ] Adding Interactivity

    • [ ] Responding to Events
    • [ ] State: A Component's Memory
    • [ ] Render and Commit
    • [ ] State as a Snapshot
    • [ ] Queueing a Series of State Updates
    • [ ] Updating Objects in State
    • [ ] Updating Arrays in State
  • [ ] Managing State

    • [ ] Reacting to Input with State
    • [ ] Choosing the State Structure
    • [ ] Sharing State Between Components
    • [ ] Preserving and Resetting State
    • [ ] Extracting State Logic into a Reducer
    • [ ] Passing Data Deeply with Context
    • [ ] Scaling Up with Reducer and Context
  • [ ] Escape Hatches

    • [ ] Referencing Values with Refs
    • [ ] Manipulating the DOM with Refs
    • [ ] Synchronizing with Effects
    • [ ] You Might Not Need an Effect
    • [ ] Lifecycle of Reactive Effects
    • [ ] Separating Events from Effects
    • [ ] Removing Effect Dependencies
    • [ ] Reusing Logic with Custom Hooks

API Reference

  • [ ] react: Hooks

    • [ ] useCallback (@lidoravitan)
    • [ ] useContext (@AvielBitton)
    • [ ] useDebugValue
    • [ ] useDeferredValue
    • [ ] useEffect
    • [ ] 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
    • [ ] 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

galnir avatar Aug 07 '22 15:08 galnir

I can translate ״Escape Hatches״

navesadeh avatar Sep 27 '22 20:09 navesadeh

I can translate ״Escape Hatches״

edit: actually the first 2 pages are okay, would you like to translate "Referencing Values with Refs" or "Manipulating the DOM with Refs" at this time?

galnir avatar Sep 27 '22 21:09 galnir

I have no problem translating something else as well, whatever is needed

navesadeh avatar Sep 27 '22 21:09 navesadeh

I have no problem translating something else as well, whatever is needed

Okay so I'm assigning "Your First Component" to you. This is the page, and this is the file

galnir avatar Sep 27 '22 21:09 galnir

i can help with translation, you can assign me to whatever is needed...

hannanel100 avatar Sep 28 '22 07:09 hannanel100

i can help with translation, you can assign me to whatever is needed...

Awesome, I'm assigning "Importing and Exporting Components" to you. page file

galnir avatar Sep 28 '22 07:09 galnir

I can help with translation, Assign me to whatever is needed .

AlonKz1 avatar Sep 30 '22 07:09 AlonKz1

I can help with translation, Assign me to whatever is needed .

Thanks! "Writing Markup with JSX" is yours page file

galnir avatar Sep 30 '22 10:09 galnir

I can translate: "Reusing Logic with Custom Hooks" And other pages if needed.

LeviEyal avatar Oct 06 '22 19:10 LeviEyal

@LeviEyal Can you first translate "JavaScript in JSX with Curly Braces"?

page file

galnir avatar Oct 06 '22 22:10 galnir

היי ניר, אני פעם ראשונה תורם קודם ואשמח לעזרה. עשיתי FORK לפרויקט וניסיתי להבין לאן אני מתרגם את הדף שביקשתם ולא הבנתי לאן. אשמח לכיוון\עזרה בנושא. תודה מראש ניר וערב נהדר!

‫בתאריך יום ו׳, 30 בספט׳ 2022 ב-13:22 מאת ‪Nir‬‏ @.*** ‬‏>:‬

I can help with translation, Assign me to whatever is needed .

Thanks! "Writing Markup with JSX" is yours page https://beta.reactjs.org/learn/writing-markup-with-jsx file https://github.com/reactjs/he.reactjs.org/blob/main/beta/src/pages/learn/writing-markup-with-jsx.md

— Reply to this email directly, view it on GitHub https://github.com/reactjs/he.reactjs.org/issues/280#issuecomment-1263390698, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVCJUDMMFMEVE2VGQEAYH53WA25NPANCNFSM552TWBBA . You are receiving this because you were mentioned.Message ID: <reactjs/he. @.***>

AlonKz1 avatar Oct 11 '22 08:10 AlonKz1

היי ניר, אני פעם ראשונה תורם קודם ואשמח לעזרה. עשיתי FORK לפרויקט וניסיתי להבין לאן אני מתרגם את הדף שביקשתם ולא הבנתי לאן. אשמח לכיוון\עזרה בנושא. תודה מראש ניר וערב נהדר! ‫בתאריך יום ו׳, 30 בספט׳ 2022 ב-13:22 מאת ‪Nir‬‏ @.*** ‬‏>:‬

Fork the project, then you have 2 options:

  1. Open the fork repo on your browser, create a new branch for your contribution, go to the file of the page you want to translate, hit 'edit' on the top right bar. Now you can translate on the web browser. You can also open a word document and translate there, then copy to the browser.
  2. Clone the repo to your PC, create a new branch using Git on your terminal and then translate the file in your code editor

אם עדיין לא מובן תעדכן אותי

galnir avatar Oct 11 '22 12:10 galnir

בתאריך יום ג׳, 11 באוק׳ 2022 ב-15:00 מאת Nir @.***>:

היי ניר, אני פעם ראשונה תורם קודם ואשמח לעזרה. עשיתי FORK לפרויקט וניסיתי להבין לאן אני מתרגם את הדף שביקשתם ולא הבנתי לאן. אשמח לכיוון\עזרה בנושא. תודה מראש ניר וערב נהדר! ‫בתאריך יום ו׳, 30 בספט׳ 2022 ב-13:22 מאת ‪Nir‬‏ @.*** ‬‏>:‬ … <#m_-1239378473831299196_>

Fork the project, then you have 2 options:

  1. Open the fork repo on your browser, create a new branch for your contribution, go to the file of the page you want to translate, hit 'edit' on the top right bar. Now you can translate on the web browser. You can also open a word document and translate there, then copy to the browser.
  2. Clone the repo to your PC, create a new branch using Git on your terminal and then translate the file in your code editor

אם עדיין לא מובן תעדכן אותי

המון תודה ניר, אעדכן 🙏🏻

— Reply to this email directly, view it on GitHub https://github.com/reactjs/he.reactjs.org/issues/280#issuecomment-1274571245, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVCJUDJFJPAS7HYZSSHAHK3WCVJHLANCNFSM552TWBBA . You are receiving this because you were mentioned.Message ID: <reactjs/he. @.***>

AlonKz1 avatar Oct 11 '22 12:10 AlonKz1

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.

Thank you so much for your cooperation!

gaearon avatar Apr 24 '23 21:04 gaearon

I've updated the translation page checklist.

gaearon avatar Apr 25 '23 01:04 gaearon

@galnir @galtalmor @itayyehezkel @bentlusty

Can you please confirm whether you'd be able to steer and maintain this translation? I want to get the list in https://github.com/reactjs/translations.react.dev/blob/main/langs/he.json updated to match the currently active list. Thank you!

gaearon avatar Apr 25 '23 15:04 gaearon

Yep, still active

galtalmor avatar Apr 26 '23 06:04 galtalmor

I'm also active

galnir avatar Apr 26 '23 08:04 galnir

Me too :)

itayyehezkel avatar Apr 26 '23 16:04 itayyehezkel

Hello, I would be happy to contribute to useLayoutEffect section.

Yaronglp avatar May 07 '23 09:05 Yaronglp

Hi, I'd like to start with useCallback, anyone else working on this?

lidoravitan avatar May 07 '23 09:05 lidoravitan

Hi :) I will be delighted to contribute to the useContext section.

AvielBitton avatar May 07 '23 09:05 AvielBitton

@gaearon Who is responsible for managing this project? We are eager to drive its progress. Additionally, Hebrew is an RTL language, so we are curious if there is RTL support available in other projects (i.e Arabic, Hebrew, Persian, Urdu, Kashmiri, Pashto, Uighur, Sorani Kurdish, Punjabi, and Sindhi)

lidoravitan avatar May 17 '23 10:05 lidoravitan

Do we support dir="rtl" attribute to make the documentation readable?

Yaronglp avatar May 17 '23 11:05 Yaronglp

I'm still here just didn't have the time to review your PRs. I'll see if I can find how we supported RTL in the old version of the docs

galnir avatar May 17 '23 11:05 galnir

It is mentioned in the thread description that there's still work being done in the main project on the UI and the recommendation was We suggest to leave most of the UI translation until the end.. To me this means we should focus on translating first and only once most content is translated start focusing on the UI and RTL improvements.

galtalmor avatar May 18 '23 02:05 galtalmor

Hi, I would like to help with the translation. You can assign me to whatever is needed.

Sa-ar avatar May 22 '23 12:05 Sa-ar

@Sa-ar please choose any of the unassigned pages (ones that do not have a user name in parenthesis next to them), go ahead and start translating and submit an MR once ready. Thanks!

galtalmor avatar May 23 '23 02:05 galtalmor

Hi @galtalmor,

Would it be possible to take off my name from the useLayoutEffect section? The repository appears to be relatively inactive (I'm waiting with PR for almost 4 months ). Thank you for your understanding :)

Yaronglp avatar Jul 24 '23 15:07 Yaronglp

Hi, @galtalmor @itayyehezkel @galnir

Is it still relevant to offer a translation? I can see that a lot of the pages are still available but no activity for a long time.

YehudaMenahem avatar Dec 14 '23 18:12 YehudaMenahem