Skip to content
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

[Done] Translate Start a New React Project #474

Merged
merged 10 commits into from May 31, 2023
Merged

Conversation

I-3B
Copy link
Contributor

@I-3B I-3B commented May 1, 2023

No description provided.

@I-3B I-3B marked this pull request as draft May 3, 2023 21:29
@I-3B I-3B changed the title [WIP] translate "Start a New React Project" [Done] Translate "Start a New React Project" May 3, 2023
@AhmedBaset
Copy link
Collaborator

please, remove the English text.
and translate the reference in the src/sidebarLearn.json. Just the key that lead to your page.

@AhmedBaset AhmedBaset added the update needed This PR needs update since last commit label May 30, 2023
@I-3B I-3B marked this pull request as ready for review May 30, 2023 18:06
@AhmedBaset AhmedBaset added need-review and removed update needed This PR needs update since last commit labels May 30, 2023
@I-3B I-3B changed the title [Done] Translate "Start a New React Project" [Done] Translate Start a New React Project May 30, 2023
@AhmedBaset AhmedBaset self-assigned this May 31, 2023
@github-actions
Copy link

github-actions bot commented May 31, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌


<TerminalBlock>
npx create-next-app
</TerminalBlock>

If you're new to Next.js, check out the [Next.js tutorial.](https://nextjs.org/learn/foundations/about-nextjs)
لتعلم Next.js ، إطلع على [الدرس تعليمي لـ Next.js](https://nextjs.org/learn/foundations/about-nextjs)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"إطلع": الصواب أن تكون بهمزة وصل "اطلع"


You can definitely use React without a framework--that's how you'd [use React for a part of your page.](/learn/add-react-to-an-existing-project#using-react-for-a-part-of-your-existing-page) **However, if you're building a new app or a site fully with React, we recommend using a framework.**
يمكن بالتأكيد استخدام React بدون إطار عمل - هكذا [ستستخدم React لجزء من صفحتك](/learn/add-react-to-an-existing-project#using-react-for-a-part-of-your-existing-page) **لكن إذا كنت تريد بناء تطبيق أو موقع جديد باستخدام React كلياً ، فننصح باستخدام إطار عمل.**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

هكذا ستستخدم => كما يمكنك استخدام


### Next.js (App Router) {/*nextjs-app-router*/}
**[موجه تطبيق Next.js](https://beta.nextjs.org/docs/getting-started) هو عبارة عن إعادة تصميم للواجهات البرمجية (APIs) الخاصة بـNext.js بهدف تحقيق رؤية فريق React للمعمارية الكاملة (full-stack).** يتيح لك جلب البيانات في مكوّنات غير متزامنة (asynchronous components) تعمل على الخادم أو حتى أثناء البناء.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

App Router
هو اسم للإصدار 13 من next.js لا يحتاج للترجمه


```js
// This component runs *only* on the server (or during the build).
// هذا المكّون يتم تنفيذه فقط على المخدّم (أو خلال البناء)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

المخدم => الخادم
تكررت كثيرا

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a table or something similar to lookup words like this which may have more than one translation(خادم <=> مخدم، دالة <=> تابع)?
I looked at the glossary but there is nothing like that.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


```js
<Suspense fallback={<TalksLoading />}>
<Talks confId={conf.id} />
</Suspense>
```

Server Components and Suspense are React features rather than Next.js features. However, adopting them at the framework level requires buy-in and non-trivial implementation work. At the moment, the Next.js App Router is the most complete implementation. The React team is working with bundler developers to make these features easier to implement in the next generation of frameworks.
مكوّنات الخادم والتعليق هي ميزات React وليست ميزات Next.js. ومع ذلك ، فإن تبنيها على مستوى إطار العمل يتطلب دعمًا وعملًا تطبيقياً غير تافه. في الوقت الحالي ، يعد موجه تطبيقات Next.js هو التطبيق الأكثر اكتمالاً. يعمل فريق React مع مطوري أدوات التجميع لتسهيل تطبيق هذه الميزات في الجيل التالي من أطر العمل.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

من الأخطاء المتكررة الفصلة قبلها مسافة
لا تضع مسافة قبل الفصلة

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please checkout my commits to this PR to know the changes

src/content/learn/start-a-new-react-project.md Outdated Show resolved Hide resolved
@AhmedBaset AhmedBaset merged commit 9d3a9e5 into reactjs:main May 31, 2023
4 checks passed
@AhmedBaset
Copy link
Collaborator

The branch has been merged successfully
Please take another page if You can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants