translated home page to hindi by saranshkataria · Pull Request #6 · reactjs/hi.react.dev

arshadkazmi42

Choose a reason for hiding this comment

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

Looks awesome.
Given some small feedbacks.
Everything else looks great.

React कौम्पोनॅन्ट एक `render()` मेथड लागू करते हैं जो इनपुट डेटा लेता है और यह दिखाता है कि क्या प्रदर्शित करना है। यह उदाहरण XML- जैसे सिंटैक्स का उपयोग करता है जिसे JSX कहा जाता है। इनपुट डेटा जिसे कौम्पोनॅन्ट में पास किया जाता है, उसे `this.props` के माध्यम से `render()` द्वारा एक्सेस किया जा सकता है।

**JSX is optional and not required to use React.** Try the [Babel REPL](babel://es5-syntax-example) to see the raw JavaScript code produced by the JSX compilation step.
**JSX इच्छाधीन है और React का उपयोग करने की आवश्यकता नहीं है।** JSX द्वारा निर्मित जावास्क्रिप्ट कोड को देखने के लिए [Babel REPL](babel://es5-syntax-example) का उपयोग करें।

Choose a reason for hiding this comment

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

**JSX इच्छाधीन है और React का उपयोग करने की आवश्यकता नहीं है।**
I think this should be something like this
**JSX इच्छाधीन है और React का उपयोग करने के लिए इसकी आवश्यकता नहीं है।**

Choose a reason for hiding this comment

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

To be precise this should be something like -
JSX वैकल्पिक है और React उपयोग करने के लिए इसकी आवश्यकता नहीं है। JSX कंपाइलेशन चरण द्वारा निर्मित raw JavaScript कोड को देखने के लिए [Babel REPL] (babel://es5-syntax-example) का उपयोग करें।

Choose a reason for hiding this comment

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

Hi @Siddharth-RWS

Can you please send a PR with this? We can discuss more there if any more changes are needed

---

Using `props` and `state`, we can put together a small Todo application. This example uses `state` to track the current list of items as well as the text that the user has entered. Although event handlers appear to be rendered inline, they will be collected and implemented using event delegation.
`props` और `state` का उपयोग करके, हम एक छोटे से टोडो ऐप्लिकेशन बना सक्ते हैं। यह उदाहरण आइटम की वर्तमान सूची के साथ-साथ उपयोगकर्ता द्वारा दर्ज किए गए टेक्स्ट को ट्रैक करने के लिए `state` का उपयोग करता है। हालाँकि, ईवेंट हैंडलर को इनलाइन प्रदान किया जाना चाहिए, लेकिन उन्हें इवेंट डेलिगेशन का उपयोग करके एकत्र किया गया है।

Choose a reason for hiding this comment

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

छोटे से this should be छोटी सी

<Layout location={location}>
<TitleAndMetaTags
title="React &ndash; A JavaScript library for building user interfaces"
title="React &ndash; User interfaces के निर्माण के लिए एक जावास्क्रिप्ट लाइब्रेरी"

Choose a reason for hiding this comment

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

Any reason you have not translated user interfaces?

Choose a reason for hiding this comment

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

We were not translating ui, so left that as well, or should I?

Choose a reason for hiding this comment

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

I feel that is only for UI since its a shorthand

Choose a reason for hiding this comment

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

what will be the translation of it?

Choose a reason for hiding this comment

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

युज़र इंटरफ़ेस
How about this.
I checked its hindi meaning. its more complex. How about keeping it like this?

Choose a reason for hiding this comment

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

interfaces, plural version is the problem 😞

Choose a reason for hiding this comment

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

इंटरफेसेस
How about this?

Choose a reason for hiding this comment

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

looks confusing to me

Choose a reason for hiding this comment

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

Then let's keep it User Interfaces.
We will come back to this, if it needs any changes

Choose a reason for hiding this comment

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

I changed it to युज़र इंटरफ़ेसिज़ and committed it along with the other changes you asked for