Translation ReactDOMServer page - #10
Conversation
| ``` | ||
|
|
||
| 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. |
There was a problem hiding this comment.
| 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.
There was a problem hiding this comment.
Hmm... I don't agree here. I think 'Stream' is 'Fluxo' and that's male. But we'll wait for another reviewer.
There was a problem hiding this comment.
| 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. |
There was a problem hiding this comment.
I'm not sure about that, what do you think about this one @glaucia86 and @cezaraugusto?
There was a problem hiding this comment.
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".
There was a problem hiding this comment.
thanks for the feedback @halian-vilela. could you please create a pull-request with those changes?
There was a problem hiding this comment.
thanks for the feedback @halian-vilela. could you please create a pull-request with those changes?
Sure! Done: #35
There was a problem hiding this comment.
I know that this is already approved but I would suggest a few changes.
First, I don't think
Readable Streamsshould 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! 馃憣
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
| ``` | ||
|
|
||
| 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. |
There was a problem hiding this comment.
| 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. |
There was a problem hiding this comment.
I'm not sure about that, what do you think about this one @glaucia86 and @cezaraugusto?
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>
| - [`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. |
There was a problem hiding this comment.
| 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. |
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
cezaraugusto
left a comment
There was a problem hiding this comment.
@fjoshuajr solid work here! please check comments re links translation and the "stream" variation. once we all agree with changes we can approve/merge
glaucia86
left a comment
There was a problem hiding this comment.
@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.
Co-Authored-By: fjoshuajr <f.joshua.jr@gmail.com>
|
Ok, resolved the comments. Please have a look. |
cezaraugusto
left a comment
There was a problem hiding this comment.
++ thanks @fjoshuajr!
#1