-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from cvijandj/installation
Installation + Start a New React Project translation
- Loading branch information
Showing
5 changed files
with
67 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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,57 +1,58 @@ | ||
--- | ||
title: Installation | ||
title: Instalacija | ||
--- | ||
|
||
<Intro> | ||
|
||
React has been designed from the start for gradual adoption. You can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to an HTML page, or start a complex React-powered app, this section will help you get started. | ||
React je dizajniran od početka za postepeno usvajanje. Možete koristiti koliko god React-a želite. Bez obzira da li želite da probate React, dodate neku interaktivnost na HTML stranicu, ili da započnete kompleksnu React aplikaciju, ova sekcija će vam pomoći da počnete. | ||
|
||
|
||
</Intro> | ||
|
||
<YouWillLearn isChapter={true}> | ||
|
||
* [How to start a new React project](/learn/start-a-new-react-project) | ||
* [How to add React to an existing project](/learn/add-react-to-an-existing-project) | ||
* [How to set up your editor](/learn/editor-setup) | ||
* [How to install React Developer Tools](/learn/react-developer-tools) | ||
* [Kako započeti novi React projekat](/learn/start-a-new-react-project) | ||
* [Kako dodati React na postojeći projekat](/learn/add-react-to-an-existing-project) | ||
* [Kako da konfigurišete vaš editor](/learn/editor-setup) | ||
* [Kako da instalirate React Developer tools](/learn/react-developer-tools) | ||
|
||
</YouWillLearn> | ||
|
||
## Try React {/*try-react*/} | ||
## Isprobajte React {/*try-react*/} | ||
|
||
You don't need to install anything to play with React. Try editing this sandbox! | ||
Ne morate ništa instalirati da bi ste se igrali sa React-om. Probajte da izmenite ovaj sandbox! | ||
|
||
<Sandpack> | ||
|
||
```js | ||
function Greeting({ name }) { | ||
return <h1>Hello, {name}</h1>; | ||
return <h1>Zdravo, {name}</h1>; | ||
} | ||
|
||
export default function App() { | ||
return <Greeting name="world" /> | ||
return <Greeting name="svet" /> | ||
} | ||
``` | ||
|
||
</Sandpack> | ||
|
||
You can edit it directly or open it in a new tab by pressing the "Fork" button in the upper right corner. | ||
Možete ga direktno menjati ili otvoriti u novom tabu pritiskom na "Fork" dugme u gornjem desnom uglu. | ||
|
||
Most pages in the React documentation contain sandboxes like this. Outside of the React documentation, there are many online sandboxes that support React: for example, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), or [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb) | ||
Većina stranica u React dokumentaciji sadrži sandbokse kao ovaj. Van React dokumentacije, postoje mnogi online sandboksi koji podržavaju React: na primer, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), ili [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb) | ||
|
||
### Try React locally {/*try-react-locally*/} | ||
### Isprobajte React lokalno {/*try-react-locally*/} | ||
|
||
To try React locally on your computer, [download this HTML page.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Open it in your editor and in your browser! | ||
Da isprobate React lokalno na vašem računaru, [preuzmite ovu HTML stranicu.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Otvorite je u vašem editoru i u vašem pretraživaču! | ||
|
||
## Start a new React project {/*start-a-new-react-project*/} | ||
## Započnite novi React projekat {/*start-a-new-react-project*/} | ||
|
||
If you want to build an app or a website fully with React, [start a new React project.](/learn/start-a-new-react-project) | ||
Ako želite da napravite aplikaciju ili sajt koristeći samo React, [zapocnite novi React projekat.](/learn/start-a-new-react-project) | ||
|
||
## Add React to an existing project {/*add-react-to-an-existing-project*/} | ||
## Dodajte React u postojeći projekat {/*add-react-to-an-existing-project*/} | ||
|
||
If want to try using React in your existing app or a website, [add React to an existing project.](/learn/add-react-to-an-existing-project) | ||
Ako žeite da isprobate React u vašem postojećem sajtu ili aplikaciji, [dodajte React u postojeći projekat.](/learn/add-react-to-an-existing-project) | ||
|
||
## Next steps {/*next-steps*/} | ||
## Sledeći koraci {/*next-steps*/} | ||
|
||
Head to the [Quick Start](/learn) guide for a tour of the most important React concepts you will encounter every day. | ||
Idite na [Brzi Start](/learn) vodič za turu najvažnijih React koncepta sa kojima ćete se susretati svakodnevno. | ||
|
Oops, something went wrong.
115823c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cvijandj, it is ay okay, certainly! But we should consider collaborating on some guidelines, e.g. I think that we shouldn't insist on literal translations, which you've done well with one exception here, I would prefer to stick with fetch instead of dohvatanje. We can youse MDN (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) as a rule of thumb if something is well-defined over there and most often used in engineering practice we should keep it as it is to avoid confusion. Btw we should also req. review before the merge and go through the transl. process in order as it is defined in #1 . Please let me know your thoughts and keep up the good work 🚀
115823c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with you, that this is not the best way to translate it, but I had a talk today with my colleagues, also developers, and we did not come up with a better word, it is either "Dohvatanje podataka sa servera", or it is just "fetching" as it is. Also, we could make a discord server like other maintainers of other language repositories. Also, maybe we could make and post a list of technical words there together with their translation, or if it is not 'translatable' then we will leave it as it is. What are your thoughts about this, @lxmarinkovic ?
115823c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.