-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Arabic Translation Progress #464
Comments
@asantarissy @iRayan7 @aladin002dz @Fcmam5 @mohshbool @3imed-jaberi @splimter Could you please confirm whether you'd be able to steer the effort on this translation? If not, please send a PR to remove yourself from https://github.com/reactjs/translations.react.dev/blob/main/langs/ar.json so that we know which maintainers are active. If there are no active maintainers, we'll put out a call looking for someone to take this on. Thank you! |
I would like to transplant the page : API reference/ react:Hooks / useCallback |
I would start with "Thinking in React". |
@gaearon I confirm my participation here as a maintainer. Thanks! |
@aalhommada, you should take one page each time. So, can you mention which of them you will take? |
@3imed-jaberi I will begin with the index . |
@hAbuMustafa, you can follow our glossary here and don't forget to open PR and feel free to mark it as a draft once you be done.
|
@Yarob50 waiting for your PR 🔥
|
@aalhommada, waiting for your PR 🔥
|
Please open PR and mark them as DRAFT or with |
Hi @3imed-jaberi, I would like to translate |
Thanks @3imed-jaberi, I also added a question about the |
React Docs use Nextjs and tailwind css , I had this issue in two language blog , and it has been solved like : <div dir={router.locale === "ar" ? "rtl" : "ltr"}>{children}</div> and to avoid been the code block to the right , just adjust tailwind style as this : <article className="prose prose-neutral prose-lg prose-pre:[direction:ltr]">
<MDXRemote {...source} />
</article> |
Thanks @aalhommada, |
Hi I would like to translate the Installation section @3imed-jaberi |
Hello, everyone, Feel free to give it a visit and contribute to the page code. |
I'm done with my assignment ("Thinking in React") @3imed-jaberi . I have a few notes though:
body {
direction: rtl;
}
.sp-editor, code, pre {
direction: initial;
} Or, we can use the HTML
|
@Yarob50 I'd like to translate |
@Yarob50 @3imed-jaberi I'd like to translate |
|
Hi there! @Yarob50 @3imed-jaberi |
All asked pages are assigned.
|
@3imed-jaberi I think you forgot to assign this page |
Hello 👋 |
I have checked it and I noticed it translated to arabic but why it contains words in English 😕 |
Hey @mahmood601 |
Thanks 👍 |
Hi @A7med3bdulBaset , Just a quick friendly reminder: Could you please update the conditional rendering as done #503 ? It seems to have been missed. Thank you! |
@A7med3bdulBaset I'm sorry but I can't complete translation |
No problem at all |
hi I would like to translate Passing Props to a Component |
hi i would like to translate useState |
I Will take keeping components pure |
@tmtm8976 |
I would like to work on Managing State section |
@Rumbustious Go ahead |
Hi @A7med3bdulBaset, sorry I wasn't very active lately. Can you please assign I created a Darft PR here. |
Go ahead. You are assigned SN: You don't have to apologize |
Good News:Hey there, My PR to handle RTL styles has been merged. Now we can read the docs in RTL styles. To get the update to your local env:
Sidenote: Update: The second PR was also merged to react.dev. Our repo will get it in the sync PR on next Monday. |
AlSalam, I would like to translate Responding to Events. |
You are assigned. If this is the first time to collaborate here, take this PR as a guide |
Hi everyone |
Hi there, I would like to take: State: A Component's Memory |
How to translate argument 🤔 |
معامل |
Hi there, i would like to translate useMemo |
Go ahead |
Hi @3imed-jaberi - @AhmedBaset , I would like to translate |
Hi everyone, I'm new here! Can I start by contributing to the translation of the top navbar? |
Go ahead |
hi, i would like to work on createContext |
Maintainer List
For New Translators
To translate a page:
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:
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) [DONE]: Translating "Quick Start / Index Page" #465
Installation (@AbdulrehmanSuliman) [DONE]: Translation of Installation #475
Add React to an existing project
#473Editor-Setup.md
#479React Developer tools
#476Describing the UI (@algorizr ) [DONE]: Translate
Describing the UI
page #472Your First Component
#488Importing and Exporting Compoenents
#481Writing-markup-with-jsx.md
#480JavaScript in JSX with Curly Braces
#498Adding Interactivity (@abdllahdev) [DONE]: Translate
Adding Interactivity
#516Render and Commit
#478Managing State (@Rumbustious) Translate
Managing State
page #522Escape Hatches
API Reference
Overview
react
: Hooks (@aalhommada) translate reference react index page #477use
useCallback
useContext
useDebugValue
(@remahmoud) [Done] TranslatinguseDebugValue
#489useDeferredValue
useEffect
useId
(@remahmoud) useId page translation #483useImperativeHandle
useInsertionEffect
useLayoutEffect
useMemo
useOptimistic
useReducer
useRef
useState
(@r-m169)useSyncExternalStore
useTransition
react
: Components (@AhmedBaset) Translating Reference: React/Components #509<Fragment> (<>)
<Profiler>
<StrictMode>
<Suspense>
react
: APIs (@AhmedBaset) Translating: APIs index page #507createContext
cache
forwardRef
lazy
memo
startTransition
act
RSC
'use client'
and'use server'
. #505"use client"
"use server"
(@AhmedBaset) Translating directives,'use client'
and'use server'
. #505experimental_taintObjectReference
experimental_taintUniqueValue
Rules
Hooks
useFormState
useFormStatus
react-dom
: Components<div>
)<form>
<input>
<option>
(@muh-osman) Translate<option>
page [UPDATED] #487<progress>
(@mrlahmar) [DONE] translate <progress> page #491<select>
<textarea>
<script>
<meta>
<link>
<style>
<title>
react-dom
: APIs (@AhmedBaset) Translating: Reference/react-dom/index #508createPortal
flushSync
findDOMNode
hydrate
preconnect
prefetchDNS
preinit
preinitModule
preload
preloadModule
render
unmountComponentAtNode
react-dom/client
: Client APIs (@AhmedBaset) Translating: Client section in the react-dom reference #510createRoot
(@AhmedBaset) Translating: Client section in the react-dom reference #510hydrateRoot
react-dom/server
: Server APIsrenderToNodeStream
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.
HomeContent.js
)src/sidebar*.json
)TopNav.tsx
)When You're Ready...
After everything above is translated, add your language to
deployedLanguages
inSeo.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:
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:
The text was updated successfully, but these errors were encountered: