Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 167
translate react-developer-tools page to persian#471
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
Merged
mrbadri
merged 4 commits into
reactjs:main
from
arashMqs:transaltion-react-developer-tools-pageJun 1, 2025
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
de63829
translate react-developer-tools page
arashMqs bf63903
improve clarity and consistency in Persian localization of react-deve…
arashMqs 2b4c5ab
Update src/content/learn/react-developer-tools.md
arashMqs 873045c
Update src/content/learn/react-developer-tools.md
arashMqs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,33 +1,33 @@ | ||
| --- | ||
| title: React Developer Tools | ||
| title: ابزار توسعه ریاکت | ||
| --- | ||
| <Intro> | ||
| Use React Developer Tools to inspect React [components](/learn/your-first-component), edit [props](/learn/passing-props-to-a-component) and [state](/learn/state-a-components-memory), and identify performance problems. | ||
| از ابزار توسعه ریاکت برای بررسی [کامپوننتها](/learn/your-first-component)، ویرایش [prop](/learn/passing-props-to-a-component) و [state](/learn/state-a-components-memory) و همچنین شناسایی مشکلات عملکردی استفاده میشود. | ||
mrbadri marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| </Intro> | ||
| <YouWillLearn> | ||
| * How to install React Developer Tools | ||
| * چگونه ابزار توسعه ریاکت را نصب کنید. | ||
| </YouWillLearn> | ||
| ## Browser extension {/*browser-extension*/} | ||
| ## اکستنشن های مرورگر {/*browser-extension*/} | ||
| The easiest way to debug websites built with React is to install the React Developer Tools browser extension. It is available for several popular browsers: | ||
| نصب افزونه ابزار توسعه ریاکت سادهترین روش برای اشکالزدایی وبسایتهای ساختهشده با ریاکت است. این افزونه برای چند مرورگر محبوب در دسترس است. | ||
| * [Install for **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) | ||
| * [Install for **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/) | ||
| * [Install for **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil) | ||
| * [نصب برای **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) | ||
| * [نصب برای **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/) | ||
| * [نصب برای **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil) | ||
| Now, if you visit a website **built with React,** you will see the _Components_ and _Profiler_ panels. | ||
| اکنون، اگر از یک وبسایت **ساختهشده با ریاکت** بازدید کنید، پانلهای _Components_ و _Profiler_ را خواهید دید. | ||
|  | ||
| ### Safari and other browsers {/*safari-and-other-browsers*/} | ||
| For other browsers (for example, Safari), install the [`react-devtools`](https://www.npmjs.com/package/react-devtools) npm package: | ||
| ### سافاری و سایر مرورگر ها {/*safari-and-other-browsers*/} | ||
| برای سایر مرورگر ها (مانند سافاری) پکیج [`react-devtools`](https://www.npmjs.com/package/react-devtools) را نصب کنید. | ||
| ```bash | ||
| # Yarn | ||
| yarn global add react-devtools | ||
| @@ -36,26 +36,26 @@ yarn global add react-devtools | ||
| npm install -g react-devtools | ||
| ``` | ||
| Next open the developer tools from the terminal: | ||
| سپس ابزارهای توسعه را از ترمینال باز کنید: | ||
| ```bash | ||
| react-devtools | ||
| ``` | ||
| Then connect your website by adding the following `<script>` tag to the beginning of your website's `<head>`: | ||
| سپس با اضافه کردن تگ `<script>` زیر به ابتدای تگ `<head>` وبسایت خود را متصل کنید: | ||
| ```html {3} | ||
| <html> | ||
| <head> | ||
| <script src="http://localhost:8097"></script> | ||
| ``` | ||
| Reload your website in the browser now to view it in developer tools. | ||
| اکنون وبسایت خود را در مرورگر بازخوانی کنید تا بتوانید آن را در ابزار توسعه مشاهده کنید. | ||
|  | ||
| ## Mobile (React Native) {/*mobile-react-native*/} | ||
| ## موبایل (ریاکت نیتیو) {/*mobile-react-native*/} | ||
| To inspect apps built with [React Native](https://reactnative.dev/), you can use [React Native DevTools](https://reactnative.dev/docs/react-native-devtools), the built-in debugger that deeply integrates React Developer Tools. All features work identically to the browser extension, including native element highlighting and selection. | ||
| برای بررسی برنامههایی که با [ریاکت نیتیو](https://reactnative.dev/) ساخته شدهاند، میتوانید از [React Native DevTools](https://reactnative.dev/docs/react-native-devtools) استفاده کنید. این ابزار اشکالزدای داخلی است که بهطور کامل با ابزار توسعه ریاکت ادغام شده است. همه ویژگیها، از جمله برجستهسازی و انتخاب عناصر بومی، بهطور دقیق مشابه نسخه افزونه مرورگر کار میکنند. | ||
| [Learn more about debugging in React Native.](https://reactnative.dev/docs/debugging) | ||
| [در مورد اشکال زدایی در ریاکت نیتیو بیشتر بخوانید.](https://reactnative.dev/docs/debugging) | ||
| > For versions of React Native earlier than 0.76, please use the standalone build of React DevTools by following the [Safari and other browsers](#safari-and-other-browsers) guide above. | ||
| > برای نسخههای ریاکت نیتیو قبل از 0.76، لطفاً از نسخه مستقل React DevTools مطابق [راهنمای سافاری و سایر مرورگرها](#safari-and-other-browsers) در بالا استفاده کنید. | ||
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.