reactjs / reactjs/ar.react.dev
New Arabic Translation Progress
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 164
- 派生
- 123
- PR 合并指标
- 30 天内没有已合并 PR
描述
Maintainer List
- @AhmedBaset
- @asantarissy
- @iRayan7
- @aladin002dz
- @Fcmam5
- @mohshbool
- @3imed-jaberi
- @splimter
For New Translators
To translate a page:
- Check that no one else has claimed your page in the checklist and comments below.
- Comment below with the name of the page you would like to translate. Please take only one page at a time.
- 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 (@Yarob50) #465
- Tutorial: Tic Tac Toe (@AhmedBaset) #469
- Thinking in React (@hAbuMustafa) #466
-
Installation (@AbdulrehmanSuliman) #475
- Start a New React Project
- Add React to an Existing Project (@AhmedBaset) #473
- Editor Setup (@AhmedBaset) #479
- Using TypeScript (@mahmood601) #526
- React Developer Tools (@AhmedBaset) #476
- React Compiler
-
Describing the UI (@algorizr ) #472
- Your First Component (@eihabkhan) #488
- Importing and Exporting Components (@AhmedBaset) #481
- Writing Markup with JSX (@AhmedBaset) #480
- JavaScript in JSX with Curly Braces (@eihabkhan) #498
- Passing Props to a Component (@tmtm8976) #515
- Conditional Rendering (@mrlahmar) #503
- Rendering Lists (@mahmood601) #504
- Keeping Components Pure (@tmtm8976) #518
- Your UI as a Tree
-
Adding Interactivity (@abdllahdev) #516
- Responding to Events (@bil3zy)
- State: A Component's Memory (@tmtm8976) #527
- Render and Commit (@AhmedBaset) #478
- State as a Snapshot (@Mhmd3ssam)
- Queueing a Series of State Updates
- Updating Objects in State
- Updating Arrays in State
-
Managing State (@Rumbustious) #522
- Reacting to Input with State (@Rumbustious) #532
- Choosing the State Structure (@Rumbustious)
- 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
-
Overview
-
react: Hooks (@aalhommada) #477-
use -
useCallback -
useContext -
useDebugValue(@remahmoud) #489 -
useDeferredValue -
useEffect -
useId(@remahmoud) #483 -
useImperativeHandle -
useInsertionEffect -
useLayoutEffect -
useMemo -
useOptimistic -
useReducer -
useRef -
useState(@r-m169) -
useSyncExternalStore -
useTransition
-
-
react: Components (@AhmedBaset) #509-
<Fragment> (<>) -
<Profiler> -
<StrictMode> -
<Suspense>
-
-
react: APIs (@AhmedBaset) #507-
createContext -
cache -
forwardRef -
lazy -
memo -
startTransition -
act
-
-
RSC
- Server Components
- Server Actions
- Directives (@AhmedBaset) #505
-
"use client" -
"use server"(@AhmedBaset) #505 -
experimental_taintObjectReference -
experimental_taintUniqueValue
-
Rules
- Components and Hooks must be pure
- React calls Components and Hooks
- Rules of Hooks
-
Hooks
-
useFormState -
useFormStatus
-
-
react-dom: Components- Common (e.g.
<div>) -
<form> -
<input> -
<option>(@muh-osman) #487 -
<progress>(@mrlahmar) #491 -
<select> -
<textarea> -
<script> -
<meta> -
<link> -
<style> -
<title>
- Common (e.g.
-
react-dom: APIs (@AhmedBaset) #508-
createPortal -
flushSync -
findDOMNode -
hydrate -
preconnect -
prefetchDNS -
preinit -
preinitModule -
preload -
preloadModule -
render -
unmountComponentAtNode
-
-
react-dom/client: Client APIs (@AhmedBaset) #510-
createRoot(@AhmedBaset) #510 -
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先查看检查清单和评论,找到一个尚未认领的阿拉伯语页面,然后在有提供时阅读 repository 的术语表和风格指南。翻译目标包括列出的文档页面,UI 入口位于 HomeContent.js、src/sidebar*.json 和 TopNav.tsx 中;完成标准是提交翻译 PR,并更新相应的检查清单项目。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react, typescript
- 领域
- documentation, localization
- Issue 类型
- 文档
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 32/100