Skip to content

Translate Your First Component into Bengali - #295

Merged
habibium merged 12 commits into
reactjs:mainfrom
nafistiham:codex/translate-your-first-component
Dec 5, 2026
Merged

habibium merged 12 commits into
reactjs:mainfrom
nafistiham:codex/translate-your-first-component

Conversation

@nafistiham

Copy link
Copy Markdown
Collaborator

Translates the “Your First Component” lesson into Bengali, including the explanations, recap, challenges, and solutions. Uses familiar technical terms and natural phrasing following the repository glossary and #32. Changes are split into 11 commits covering four prose blocks each.

Validation:

  • Markdown lint and heading-ID checks passed.
  • MDX compilation passed.
  • All 27 code examples, heading IDs, and link targets remain unchanged.
  • Repository link validation passed for all 1,978 links.

The progress checklist in #1 has an earlier assignment to @ahnafyy; no existing open PR for this page was found when preparing this translation.

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 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! 🙌

@habibium habibium left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

সুন্দর ও সাবলীল অনুবাদ, ধন্যবাদ! দুটি ছোট পরামর্শ দিলাম, দুটোই ঐচ্ছিক।

#### সব স্তরেই কম্পোনেন্ট {/*components-all-the-way-down*/}

Your React application begins at a "root" component. Usually, it is created automatically when you start a new project. For example, if you use [CodeSandbox](https://codesandbox.io/) or if you use the framework [Next.js](https://nextjs.org/), the root component is defined in `pages/index.js`. In these examples, you've been exporting root components.
আপনার React অ্যাপ একটি "রুট" কম্পোনেন্ট থেকে শুরু হয়। নতুন প্রজেক্ট শুরু করলে সাধারণত এটি আপনাআপনি তৈরি হয়। যেমন, [CodeSandbox](https://codesandbox.io/) বা [Next.js](https://nextjs.org/) ফ্রেমওয়ার্ক ব্যবহার করলে রুট কম্পোনেন্ট `pages/index.js`-এ থাকে। উপরের উদাহরণগুলোতে আপনি রুট কম্পোনেন্টই এক্সপোর্ট করছিলেন।

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ছোট একটি পরামর্শ: অভিধানে শব্দটি হাইফেনসহ "আপনা-আপনি" লেখা হয়।

Suggested change
আপনার React অ্যাপ একটি "রুট" কম্পোনেন্ট থেকে শুরু হয়। নতুন প্রজেক্ট শুরু করলে সাধারণত এটি আপনাআপনি তৈরি হয়। যেমন, [CodeSandbox](https://codesandbox.io/) বা [Next.js](https://nextjs.org/) ফ্রেমওয়ার্ক ব্যবহার করলে রুট কম্পোনেন্ট `pages/index.js`-এ থাকে। উপরের উদাহরণগুলোতে আপনি রুট কম্পোনেন্টই এক্সপোর্ট করছিলেন।
আপনার React অ্যাপ একটি "রুট" কম্পোনেন্ট থেকে শুরু হয়। নতুন প্রজেক্ট শুরু করলে সাধারণত এটি আপনা-আপনি তৈরি হয়। যেমন, [CodeSandbox](https://codesandbox.io/) বা [Next.js](https://nextjs.org/) ফ্রেমওয়ার্ক ব্যবহার করলে রুট কম্পোনেন্ট `pages/index.js`-এ থাকে। উপরের উদাহরণগুলোতে আপনি রুট কম্পোনেন্টই এক্সপোর্ট করছিলেন।

React কম্পোনেন্টের নাম বড় হাতের অক্ষর দিয়ে শুরু হতে হবে।

Change `function profile()` to `function Profile()`, and then change every `<profile />` to `<Profile />`:
`function profile()` বদলে `function Profile()` করুন। তারপর প্রতিটি `<profile />` বদলে `<Profile />` করুন:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"বদলে ... করুন" এখানে একটু আড়ষ্ট শোনায়; "-এর জায়গায় ... লিখুন" হলে হয়তো আরও সহজে পড়া যায়। আপনার বিবেচনার জন্য:

Suggested change
`function profile()` বদলে `function Profile()` করুন। তারপর প্রতিটি `<profile />` বদলে `<Profile />` করুন:
`function profile()`-এর জায়গায় `function Profile()` লিখুন। তারপর প্রতিটি `<profile />`-এর জায়গায় `<Profile />` লিখুন:

@nafistiham

Copy link
Copy Markdown
Collaborator Author

@habibium updated. Thanks for the review,

@habibium
habibium added this pull request to the merge queue Dec 5, 2026
Merged via the queue into reactjs:main with commit 63951d9 Dec 5, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants