Coder Social home page Coder Social logo

reactjs / fa.react.dev Goto Github PK

View Code? Open in Web Editor NEW
182.0 182.0 139.0 150.22 MB

(Work in progress) React documentation website in Persian

Home Page: https://fa.react.dev

License: Creative Commons Attribution 4.0 International

JavaScript 32.40% CSS 7.38% HTML 0.28% Shell 0.01% TypeScript 59.93%
javascript react reactjs

fa.react.dev's People

Contributors

abolfazl2647 avatar acdlite avatar alexkrolick avatar bvaughn avatar chenglou avatar danilowoz avatar dependabot[bot] avatar gaearon avatar hosseinamd avatar jimfb avatar koba04 avatar kohei-takata avatar lex111 avatar marocchino avatar mcsheffrey avatar petehunt avatar react-translations-bot avatar reactjs-translation-bot avatar rezvani2647 avatar rickhanlonii avatar sebmarkbage avatar sjjdgg avatar sophiebits avatar sorousht avatar tesseralis avatar vjeux avatar yangshun avatar zahrajoulaei avatar zpao avatar zqran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fa.react.dev's Issues

Update node version in dependencies

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.

درخواست همکاری

سلام، به تمام مشارکت کنندگان این پروژه، خیلی دوست دارم توی این پروژه شرکت داشته باشم ولی به دلیل کمی مشکل مالی نمی‌تونم کاملا رایگان انجامش بدم. میخواستم بدونم اجازه می‌دهین به ازای حداقل فلان قدر کاراکتر یک تبلیغات کوچیک در همان مطلب قرار بگیره.
من می‌تونم خیلی توی پروژه مشارکت داشته باشم.
ممنون

پیشنهاد برای نگارش بهتر متن

Summary

Page

No response

Details

سلام.
تو این صفحه، برای برخی از کلمات که معادلِ فارسی نداره، پیشنهاد شده همون شکلِ انگلیسی به کار بره.

من اینجا دو تا پیشنهاد دارم:

۱. معمولاً در شیوه‌نامه‌ها، برای حفظ یکدستی و کاهش هزینه‌های بعدی، از به‌کارگیری واژه‌های غیرصریح مثل «پیشنهاد دادن» که به مشارکت‌کننده حق اختیار می‌ده اجتناب می‌شه. پیشنهاد می‌کنم اینجا تکلیف رو روشن کنید که اصلِ واژهٔ انگلیسی به کار بره یا نه. چون اینجوری ممکنه بعضی‌ها بنویسن «ایمپورت» و بعضی‌ها بنویسن «import» و این باعث نایکدستی و کاهش خوانایی متن می‌شه.

۲. پیشنهاد می‌کنم برای بعضی از کلمات که شکل فینگلیش نسبتاً پذیرفته‌شده‌ای دارن همون شکل فینگلیش استفاده بشه. مثلاً: ایمپورت، ویو، استیت، تایم‌استمپ، اچ‌تی‌ام‌ال، ای‌پی‌آی، جی‌اس‌ایکس و ... . در متنی که بارها از واژهٔ state و import استفاده شده، هم ظاهر متن، خراب می‌شه و هم خواننده ناچاره بارها بین فارسی و انگلیسی (حتی برای لحظه‌ای درنگ) جابه‌جا بشه که جالب نیست.

I would like to be a maintainer

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:

Can't push

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:

1. یک کپی از مخزن کد بگیرید

git clone https://github.com/reactjs/fa.reactjs.org.git

2. به شاخه اصلی پروژه بروید

cd fa.reactjs.org

3. وابستگی‌های npm پروژه را نصب کنید

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)

کمک برای ترجمه

به نام خدا
سلام
بنده هم می خواهم در ترجمه کمک کنم
فقط یک صفحه را به من معرفی کنید تاترجمه کنم
من میدونم که فایل های
.md
باید ترجمه بشوند
از داخل سایت گیت همین کار را انجام دادم ولی ظاهرا نتیجه ای در بر نداشته
باتشکر

i would like to become a repo maintainer & a contributer

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

New Persian Translation Progress

Maintainers

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:

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

API Reference

  • 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

    • 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

مشکل در راه اندازی لوکال سایت

سلام، بعد از فورک کردن پروژه و دستورات زیر به ارور بر می‌خورم.

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 درست شد
گفتم در جریان باشید :)

Glossary Discussion

This issue is created to submit words that are not found on repo's glossary also to further discuss the translation of specific words.

تغییر کامند

به نظرم دستوری که در بخش رفتن به شاخه اصلی نوشته شده باید با دستور دیگری عوض شود

cd fa.reactjs.org با cd fa.react.dev

fa.react.org نبود در پوشه

Remove `fa` branch

اوایل شروع کارمون، تصمیم گرفتیم که یک شاخه (fa) درست کنیم و دلیلش این بود:

۱. این الگو رو از تیم‌های دیگه برداشتیم
۲. فکر می‌کردیم که روند بررسی رو بهبود می‌دهد
۳. هنگامی که تغییرات بررسی و آماده انتشار شد با master ادغام کنیم.

اما تا اینجای کار مزیتی برای ما نداشته! شاید در آینده پس از اینکه انتشار داشتیم، شاخه pre-release یا یه چیزی شبیه اون اضافه کنیم ولی در حال حاضر بنظر می‌رسد که نیازی نیست. نظر شما چیه؟

ترجمه توسط جامعه ری‌اکت ایران

با سلام. من یکی از اعضای و اونرهای جامعه ری‌اکت ایران هستم. لینک اورگان ما هم توی گیت‌هاب اینجاست.
از این ریپو شما یک فورک گرفتم و استارت شروع رو زدیم. اعضای ما زیاد هستند، می‌خوایم همکاری کنیم و کار رو جلو ببریم. من تمام راهنماهای شما رو خوندم.
فقط نمی‌دونم شما دقیقا روی کدوم قسمت‌ها کار نمی‌کنید که ما روی اون‌ها کار کنیم.

لطفا راهنمایی کنید.

change font for fa.reactjs.org

hi every body
the existing font is inappropriate for Persian (Farsi) language;
tell me how to change font for specific language?

[OLD] Legacy Persian Translation Progress

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. Take only one page at a time.
  3. Clone this repo, make your translations locally, 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.

Core Pages

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

Basics

API Reference

Navigation

These are the navigation links that appear in the sidebar. Possibly wait until
the corresponding sections are translated to do these.

  • tutorial/nav.yml
  • docs/nav.yml

Next Steps

These are the next most important translations, ordered by importance:

Installation

Hooks

Everyone is hooked on hooks! People are really excited about these and it would be great for them to be translated.

Warnings

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.

  • dont-call-proptypes (@Shahrzad-gh)
  • invalid-aria-prop
  • invalid-hook-call-warning
  • legacy-factories
  • refs-must-have-owner
  • special-props
  • unknown-prop

Advanced Guides

FAQ

Contributing

Priority: Low

  • How to Contribute
  • Codebase Overview
  • Implementation Notes
  • Design Principles

Components

Components in src/components that have some text in them.

  • CodeEditor
  • CodeExample (@SebghatYusuf)
  • ErrorDecoder
  • LayoutFooter
  • LayoutHeader
  • MarkdownPage

Additional Translations

These are not the primary translation targets.

  • Blog
  • Community

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.