Skip to content

Translation ReactDOMServer page - #10

Merged
cezaraugusto merged 15 commits into
reactjs:masterfrom
fjoshuajr:reference-react-dom-server
Feb 9, 2019
Merged

Translation ReactDOMServer page#10
cezaraugusto merged 15 commits into
reactjs:masterfrom
fjoshuajr:reference-react-dom-server

Conversation

@fjoshuajr

Copy link
Copy Markdown
Contributor

#1

@fjoshuajr fjoshuajr added the needs review A pull request ready to be reviewed label Feb 8, 2019
@fjoshuajr fjoshuajr changed the title API Reference / ReactDOMServer ReactDOMServer page Feb 8, 2019
Comment thread content/docs/reference-react-dom-server.md Outdated
Comment thread content/docs/reference-react-dom-server.md Outdated
```

Render a React element to its initial HTML. Returns a [Readable stream](https://nodejs.org/api/stream.html#stream_readable_streams) that outputs an HTML string. The HTML output by this stream is exactly equal to what [`ReactDOMServer.renderToString`](#rendertostring) would return. You can use this method to generate HTML on the server and send the markup down on the initial request for faster page loads and to allow search engines to crawl your pages for SEO purposes.
Renderiza um elemento React para seu HTML inicial. Retorna um [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML desse stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup para o request inicial para ter carregamentos de p谩gina r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Renderiza um elemento React para seu HTML inicial. Retorna um [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML desse stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup para o request inicial para ter carregamentos de p谩gina r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.
Renderiza um elemento React para seu HTML inicial. Retorna uma [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML dessa stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup para o request inicial para ter carregamentos de p谩gina r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.

in my option stream is a female object, I can be wrong.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hmm... I don't agree here. I think 'Stream' is 'Fluxo' and that's male. But we'll wait for another reviewer.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Renderiza um elemento React para seu HTML inicial. Retorna um [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML desse stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup para o request inicial para ter carregamentos de p谩gina r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.
Renderiza um elemento React para seu HTML inicial. Retorna um [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML desse stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup no request inicial para ter carregamentos de p谩gina mais r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure about that, what do you think about this one @glaucia86 and @cezaraugusto?

@halian-vilela halian-vilela Feb 9, 2019

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I know that this is already approved but I would suggest a few changes.

First, I don't think Readable Streams should be translated. It's a full term, translating it would prevent people from finding it in online searches.

Also "A sa铆da HTML [...] 茅 exatamente igual " once both are female nouns (as sa铆das)

And I guess "motores de busca" are more standardized than "motores de pesquisa".

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks for the feedback @halian-vilela. could you please create a pull-request with those changes?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks for the feedback @halian-vilela. could you please create a pull-request with those changes?

Sure! Done: #35

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I know that this is already approved but I would suggest a few changes.

First, I don't think Readable Streams should be translated. It's a full term, translating it would prevent people from finding it in online searches.

Also "A sa铆da HTML [...] 茅 exatamente igual " once both are female nouns (as sa铆das)

And I guess "motores de busca" are more standardized than "motores de pesquisa".

Good catch! 馃憣

Comment thread content/docs/reference-react-dom-server.md
Comment thread content/docs/reference-react-dom-server.md
Comment thread content/docs/reference-react-dom-server.md
chmieleski and others added 2 commits February 8, 2019 18:21
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
Comment thread content/docs/reference-react-dom-server.md Outdated
Comment thread content/docs/reference-react-dom-server.md Outdated
```

Render a React element to its initial HTML. Returns a [Readable stream](https://nodejs.org/api/stream.html#stream_readable_streams) that outputs an HTML string. The HTML output by this stream is exactly equal to what [`ReactDOMServer.renderToString`](#rendertostring) would return. You can use this method to generate HTML on the server and send the markup down on the initial request for faster page loads and to allow search engines to crawl your pages for SEO purposes.
Renderiza um elemento React para seu HTML inicial. Retorna um [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML desse stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup para o request inicial para ter carregamentos de p谩gina r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Renderiza um elemento React para seu HTML inicial. Retorna um [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML desse stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup para o request inicial para ter carregamentos de p谩gina r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.
Renderiza um elemento React para seu HTML inicial. Retorna um [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML desse stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup no request inicial para ter carregamentos de p谩gina mais r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.

```

Render a React element to its initial HTML. Returns a [Readable stream](https://nodejs.org/api/stream.html#stream_readable_streams) that outputs an HTML string. The HTML output by this stream is exactly equal to what [`ReactDOMServer.renderToString`](#rendertostring) would return. You can use this method to generate HTML on the server and send the markup down on the initial request for faster page loads and to allow search engines to crawl your pages for SEO purposes.
Renderiza um elemento React para seu HTML inicial. Retorna um [Stream leg铆vel](https://nodejs.org/api/stream.html#stream_readable_streams) que gera uma string HTML. A sa铆da HTML desse stream 茅 exatamente igual ao que [`ReactDOMServer.renderToString`](#rendertostring) retornaria. Voc锚 pode usar este m茅todo para gerar HTML no servidor e enviar o markup para o request inicial para ter carregamentos de p谩gina r谩pidos e para permitir que motores de pesquisa rastreiem suas p谩ginas para fins de SEO.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure about that, what do you think about this one @glaucia86 and @cezaraugusto?

WendellAdriel and others added 3 commits February 8, 2019 18:53
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
Comment thread content/docs/reference-react-dom-server.md Outdated
Comment thread content/docs/reference-react-dom-server.md
- [`renderToStaticMarkup()`](#rendertostaticmarkup)

These additional methods depend on a package (`stream`) that is **only available on the server**, and won't work in the browser.
Estes m茅todos adicionais dependem do pacote (`stream`) que **s贸 est谩 dispon铆vel no servidor**, e n茫o v茫o funcionar no navegador.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Estes m茅todos adicionais dependem do pacote (`stream`) que **s贸 est谩 dispon铆vel no servidor**, e n茫o v茫o funcionar no navegador.
Estes m茅todos adicionais dependem do pacote (`stream`) que **s贸 est谩 dispon铆vel no servidor** e n茫o v茫o funcionar no navegador.

Comment thread content/docs/reference-react-dom-server.md Outdated
Comment thread content/docs/reference-react-dom-server.md Outdated
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
Comment thread content/docs/reference-react-dom-server.md Outdated

@cezaraugusto cezaraugusto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@fjoshuajr solid work here! please check comments re links translation and the "stream" variation. once we all agree with changes we can approve/merge

@cezaraugusto cezaraugusto added needs resolution Something not defined that needs maintainers input and removed needs review A pull request ready to be reviewed labels Feb 8, 2019

@glaucia86 glaucia86 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@fjoshuajr algumas altera莽玫es a serem feitas.
Quando terminar colocar como 'Resolve Conversation' que analisaremos novamente as altera莽玫es e logo aprova莽茫o da sua contribui莽茫o. Muito obrigada.

@fjoshuajr

fjoshuajr commented Feb 9, 2019

Copy link
Copy Markdown
Contributor Author

Ok, resolved the comments. Please have a look.
@cezaraugusto @glaucia86

@glaucia86 glaucia86 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 馃憤

@glaucia86 glaucia86 added needs +1 Needs another approval before merging and removed needs resolution Something not defined that needs maintainers input labels Feb 9, 2019

@cezaraugusto cezaraugusto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

++ thanks @fjoshuajr!

@cezaraugusto
cezaraugusto dismissed WendellAdriel鈥檚 stale review February 9, 2019 02:17

feedback addressed

@cezaraugusto
cezaraugusto merged commit 4d7484f into reactjs:master Feb 9, 2019
@cezaraugusto cezaraugusto added 馃寪 translated Translation is completed for this page and removed needs +1 Needs another approval before merging labels Feb 9, 2019
@fjoshuajr
fjoshuajr deleted the reference-react-dom-server branch February 10, 2019 02:18
@fjoshuajr fjoshuajr changed the title ReactDOMServer page Translation ReactDOMServer page Feb 10, 2019
devin-ai-integration Bot pushed a commit to WalissonRodrigo/pt-br.react.dev that referenced this pull request Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

馃寪 translated Translation is completed for this page

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants