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

@fjoshuajrfjoshuajr added the needs review A pull request ready to be reviewed label Feb 8, 2019
@fjoshuajrfjoshuajr changed the title API Reference / ReactDOMServerReactDOMServer pageFeb 8, 2019
Comment threadcontent/docs/reference-react-dom-server.md Outdated
Comment threadcontent/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 stringHTML. 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
ContributorAuthor

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-vilelahalian-vilelaFeb 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
ContributorAuthor

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 threadcontent/docs/reference-react-dom-server.md
Comment threadcontent/docs/reference-react-dom-server.md
Comment threadcontent/docs/reference-react-dom-server.md
chmieleskiand 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>
WendellAdriel
WendellAdriel previously requested changes Feb 8, 2019
Comment threadcontent/docs/reference-react-dom-server.md Outdated
Comment threadcontent/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 stringHTML. 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 stringHTML. 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?

WendellAdrieland 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 threadcontent/docs/reference-react-dom-server.md Outdated
Comment threadcontent/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 threadcontent/docs/reference-react-dom-server.md Outdated
Comment threadcontent/docs/reference-react-dom-server.md Outdated
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
Comment threadcontent/docs/reference-react-dom-server.md Outdated

@cezaraugustocezaraugusto 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

@cezaraugustocezaraugusto 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

@glaucia86glaucia86 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
ContributorAuthor

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

@glaucia86glaucia86 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 👍

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

@cezaraugustocezaraugusto 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 merged commit 4d7484f into reactjs:masterFeb 9, 2019
@cezaraugustocezaraugusto added 🌐 translated Translation is completed for this page and removed needs +1 Needs another approval before merging labels Feb 9, 2019
@tesseralistesseralis mentioned this pull request Feb 9, 2019
90 tasks
@fjoshuajr
fjoshuajr deleted the reference-react-dom-server branch February 10, 2019 02:18
@fjoshuajrfjoshuajr changed the title ReactDOMServer pageTranslation ReactDOMServer pageFeb 10, 2019
devin-ai-integrationBot pushed a commit to WalissonRodrigo/pt-br.react.dev that referenced this pull request Jul 9, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌐 translatedTranslation is completed for this page

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@fjoshuajr@thadeu@halian-vilela@glaucia86@cezaraugusto@chmieleski@WendellAdriel