reactjs / fa.react.dev Goto Github PK
View Code? Open in Web Editor NEW(Work in progress) React documentation website in Persian
Home Page: https://fa.react.dev
License: Creative Commons Attribution 4.0 International
(Work in progress) React documentation website in Persian
Home Page: https://fa.react.dev
License: Creative Commons Attribution 4.0 International
Hi,
Please help me to be a main participator of this repo as now I have more time and energy and I can be helpful
this is my last pr:
اوایل شروع کارمون، تصمیم گرفتیم که یک شاخه (fa) درست کنیم و دلیلش این بود:
۱. این الگو رو از تیمهای دیگه برداشتیم
۲. فکر میکردیم که روند بررسی رو بهبود میدهد
۳. هنگامی که تغییرات بررسی و آماده انتشار شد با master ادغام کنیم.
اما تا اینجای کار مزیتی برای ما نداشته! شاید در آینده پس از اینکه انتشار داشتیم، شاخه pre-release یا یه چیزی شبیه اون اضافه کنیم ولی در حال حاضر بنظر میرسد که نیازی نیست. نظر شما چیه؟
No response
سلام.
تو این صفحه، برای برخی از کلمات که معادلِ فارسی نداره، پیشنهاد شده همون شکلِ انگلیسی به کار بره.
من اینجا دو تا پیشنهاد دارم:
۱. معمولاً در شیوهنامهها، برای حفظ یکدستی و کاهش هزینههای بعدی، از بهکارگیری واژههای غیرصریح مثل «پیشنهاد دادن» که به مشارکتکننده حق اختیار میده اجتناب میشه. پیشنهاد میکنم اینجا تکلیف رو روشن کنید که اصلِ واژهٔ انگلیسی به کار بره یا نه. چون اینجوری ممکنه بعضیها بنویسن «ایمپورت» و بعضیها بنویسن «import» و این باعث نایکدستی و کاهش خوانایی متن میشه.
۲. پیشنهاد میکنم برای بعضی از کلمات که شکل فینگلیش نسبتاً پذیرفتهشدهای دارن همون شکل فینگلیش استفاده بشه. مثلاً: ایمپورت، ویو، استیت، تایماستمپ، اچتیامال، ایپیآی، جیاسایکس و ... . در متنی که بارها از واژهٔ state و import استفاده شده، هم ظاهر متن، خراب میشه و هم خواننده ناچاره بارها بین فارسی و انگلیسی (حتی برای لحظهای درنگ) جابهجا بشه که جالب نیست.
سلام، به تمام مشارکت کنندگان این پروژه، خیلی دوست دارم توی این پروژه شرکت داشته باشم ولی به دلیل کمی مشکل مالی نمیتونم کاملا رایگان انجامش بدم. میخواستم بدونم اجازه میدهین به ازای حداقل فلان قدر کاراکتر یک تبلیغات کوچیک در همان مطلب قرار بگیره.
من میتونم خیلی توی پروژه مشارکت داشته باشم.
ممنون
سلام، بعد از فورک کردن پروژه و دستورات زیر به ارور بر میخورم.
git clone https://github.com/amirmahdi-nsh/fa.reactjs.org.git
cd fa.reactjs.org
yarn
yarn dev
ERROR #98123 WEBPACK
Generating SSR bundle failed
Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- /home/amir/git/fa.reactjs.org/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
- /home/amir/git/fa.reactjs.org/node_modules/@babel/preset-env/lib/index.js
- /home/amir/git/fa.reactjs.org/node_modules/@babel/core/lib/config/files/plugins.js
- /home/amir/git/fa.reactjs.org/node_modules/@babel/core/lib/config/files/index.js
- /home/amir/git/fa.reactjs.org/node_modules/@babel/core/lib/index.js
- /home/amir/git/fa.reactjs.org/node_modules/babel-loader/lib/index.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby/dist/utils/babel-loader.js
- /home/amir/git/fa.reactjs.org/node_modules/loader-runner/lib/loadLoader.js
- /home/amir/git/fa.reactjs.org/node_modules/loader-runner/lib/LoaderRunner.js
- /home/amir/git/fa.reactjs.org/node_modules/webpack/lib/NormalModule.js
- /home/amir/git/fa.reactjs.org/node_modules/webpack/lib/NormalModuleFactory.js
- /home/amir/git/fa.reactjs.org/node_modules/webpack/lib/Compiler.js
- /home/amir/git/fa.reactjs.org/node_modules/webpack/lib/webpack.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby/dist/commands/develop.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby-cli/lib/create-cli.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby-cli/lib/index.js
- /home/amir/git/fa.reactjs.org/node_modules/gatsby/dist/bin/gatsby.js
File: .cache/develop-static-entry.js
not finished Generating image thumbnails - 27.319s
———————————————————————————————————————————————————————————————————————————————————————
320 pages In Progress react-website
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
که با npm update --depth 5 @babel/compat-data
درست شد
گفتم در جریان باشید :)
Translate Test Utilities into Persian.
Hi hope you are doing well,
as suggested by gaearon in the reference here,
I'm "Abolfazl Chaman" & am 20 years old, I have been coding since I was 13, started web development in 2018, and got to know React, js, node.js, express & several other related technologies pretty well, since then worked on mostly large-scale closed source projects. I translated the official very well-known Airbnb-javascript-style-guide, as well as their official React/JSX-style-guide as well as their CSS/Sass-style-guide .
For translation and maintaining capability proof: I'm a holder of an Academic IELTS(International English Language Testing System) Band 7.5 test results and Farsi(Persian) is my mother tongue.
I have the time & skills necessary to be an active & consistent member of the maintaining fa translation team and certainly would be very much honored to work with talented & awesome engineers like you. -Best wishes!🤝
@sJJdGG @rezvani2647 @sorousht @zahrajoulaei @Schabaani @masoud-bahrami
Translate Introducing JSX into Persian
به نظرم دستوری که در بخش رفتن به شاخه اصلی نوشته شده باید با دستور دیگری عوض شود
cd fa.reactjs.org با cd fa.react.dev
fa.react.org نبود در پوشه
Translate Lifting State Up into Persian.
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.
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!
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.
Quick Start (@faeghe-hajiabadi ) #377
Installation (@mohammad-hosein-shahpouri)
Describing the UI (@amin-da)
Adding Interactivity
Managing State
Escape Hatches
react
: Hooks
useCallback
useContext
useDebugValue
useDeferredValue
useEffect
useId
useImperativeHandle
useInsertionEffect
useLayoutEffect
useMemo
useReducer
(@Atefeh-Masoumi)useRef
useState
useSyncExternalStore
useTransition
react
: Components
<Fragment> (<>)
<Profiler>
<StrictMode>
<Suspense>
react
: APIs
createContext
forwardRef
lazy
memo
startTransition
react-dom
: Components
<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
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
)After everything above is translated, add your language to deployedLanguages
in Seo.tsx
of the original reactjs/react.dev repository.
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
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:
Translate React.Component into Persian.
Translate Test Renderer into Persian.
To be able to run yarn and install dependencies please add version 16 of node. It returns an error of node version.
yarn run v1.22.18
warning ../../package.json: No license field
error [email protected]: The engine "node" is incompatible with this module. Expected version "12.x.x || 14.x.x || 15.x.x". Got "16.14.0"
error Commands cannot run with an incompatible environment.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
This issue is created to submit words that are not found on repo's glossary also to further discuss the translation of specific words.
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.
To do before releasing as an "official" translation. Please translate these pages first.
These are the navigation links that appear in the sidebar. Possibly wait until
the corresponding sections are translated to do these.
These are the next most important translations, ordered by importance:
Everyone is hooked on hooks! People are really excited about these and it would be great for them to be translated.
These are the pages that you get when you click the links in the console (e.g. https://reactjs.org/warnings/dont-call-proptypes.html). People tend to search these, so please don't translate the error message itself.
Priority: Low
Components in src/components
that have some text in them.
These are not the primary translation targets.
به نام خدا
سلام
بنده هم می خواهم در ترجمه کمک کنم
فقط یک صفحه را به من معرفی کنید تاترجمه کنم
من میدونم که فایل های
.md
باید ترجمه بشوند
از داخل سایت گیت همین کار را انجام دادم ولی ظاهرا نتیجه ای در بر نداشته
باتشکر
Translate Thinking in React into Persian.
Translate hooks-rules.md
لطفا راهنمایی کنید.
Translate Glossary into Persian.
hi, i was assigned to translate the page of Lifting State Up.
and i did it.
but first i follow the installation guid as below:
git clone https://github.com/reactjs/fa.reactjs.org.git
cd fa.reactjs.org
yarn
finally i run the project and create my own branch and i have 3 commits since i start the translation but when i try to push i face this error on terminal ..
remote: Permission to reactjs/fa.reactjs.org.git denied to Abolfazl2647. fatal: unable to access 'https://github.com/reactjs/fa.reactjs.org.git/': The requested URL returned error: 403
and i also try this:
git push [my-fork-name] [the-name-of-my-branch]
but face this one:
`
fatal: 'Abolfazl2647' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
`
how can i push ?
(this is my first time to collaborate on code with other people on GitHub)
سلام.
فکر میکنم در نقش maintainer این پروژه از عهدهٔ وظایفی که برای این نقش تعریف شده بر بیام. همچنین خرده تجربهای در ترجمه و ویرایش دارم که برای یکدستی و افزایش کیفیت ترجمهها میتونید روش حساب باز کنید.
Translate ReactDOM into Persian.
Translate Handling Events into Persian.
چطور میتونم از نسخه فارسی آموزش react.js استفاده کنم؟؟؟؟؟؟؟؟
لینکش کجاست؟؟؟؟ میشه لینکشو برام بفرستید؟؟؟
Translate Composition vs Inheritance into Persian.
hi every body
the existing font is inappropriate for Persian (Farsi) language;
tell me how to change font for specific language?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.