Skip to content

Update and improve PT-BR translations for UI labels, components, and Learn pages - #1131

Open
Lucas-Steffen wants to merge 7 commits into
reactjs:mainfrom
Lucas-Steffen:dev_lucas
Open

Lucas-Steffen wants to merge 7 commits into
reactjs:mainfrom
Lucas-Steffen:dev_lucas

Conversation

@Lucas-Steffen

Copy link
Copy Markdown

This PR improves the PT-BR localization across multiple UI components and Learn section pages.

Updates include refined terminology, improved phrasing, and increased consistency with the original English documentation. Adjustments were made in both interface texts and content structure to ensure clearer comprehension and better alignment with React’s documentation standards.

Files updated:

  • sidebarLearn.json
  • describing-the-ui.md
  • SocialBanner.tsx
  • Tag.tsx
  • TopNav.tsx
  • MDXComponents.tsx

These changes enhance translation accuracy, clarify component labels, and maintain consistency across the Learn experience.

…on, and component labels

Refined wording and improved consistency across translated files, including:
- sidebarLearn.json
- describing-the-ui.md
- SocialBanner.tsx
- Tag.tsx
- TopNav.tsx
- MDXComponents.tsx

Ensures clearer terminology and alignment with React documentation guidelines.
@vercel

vercel Bot commented Dec 12, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
pt-br-legacy-reactjs-org Ignored Ignored Preview Nov 27, 2026 3:12am UTC

Request Review

@Lucas-Steffen

Copy link
Copy Markdown
Author

If you need any adjustments or prefer alternative terminology in specific sections, I'm available to update the PR. Thanks for reviewing.

@jhonmike

Copy link
Copy Markdown
Member

Obrigado pela tradução, mas poderia ajustar os conflitos?

@jhonmike jhonmike added the needs author response Changes requested needing author's input label May 20, 2026
@Lucas-Steffen

Copy link
Copy Markdown
Author

Boa noite @jhonmike, conflitos ajustados

@jhonmike jhonmike left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Obrigado pela contribuição ampla! 🙏 As traduções de strings de UI (TopNav, SocialBanner, Tag, MDX) estão boas. Dois bloqueios e uma observação:

  1. src/content/learn/describing-the-ui.md:555-557: o bloco <LearnMore> ficou quebrado — duas frases fundidas ("...árvore](...)** Aprenda como criar...") e a linha em branco antes de </LearnMore> foi removida (o MDX precisa dela). Restaure a linha em branco e ajuste para uma frase só, ex.: "Leia Sua interface de usuário como uma árvore para aprender como criar árvores de renderização e de dependências de módulos para um app React...".

  2. src/sidebarLearn.json:88: a mudança de "tags": [] → "tags": ["foundation"] diverge do upstream em inglês (não é tradução). Reverta para []; se quiser adicionar a tag, melhor em um PR separado.

Obs (menor): src/components/Tag.tsx:26 deixou "Experimental" sem traduzir enquanto os outros 4 foram traduzidos. Em pt-BR "Experimental" é a mesma palavra, então tudo bem — só confirmando que foi intencional.

Depois dos itens 1 e 2, seguimos. 🚀

@Lucas-Steffen

Lucas-Steffen commented Aug 7, 2026 •

Copy link
Copy Markdown
Author

Desculpa a demora pra aplicar as correções! 🙏😅 Ajustei os dois bloqueios:

  1. describing-the-ui.md:555-557: unifiquei a frase e voltei a linha em branco antes de </LearnMore>.
  2. sidebarLearn.json:88: voltei pra "tags": [], igual o upstream. Faz sentido deixar a tag pra outro PR mesmo.

Sobre o Tag.tsx:26: foi de propósito, "Experimental" é igual em pt-BR mesmo.

Pode revisar de novo quando der. 🚀

@Lucas-Steffen
Lucas-Steffen requested a review from jhonmike August 8, 2026 01:12

@jhonmike jhonmike left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Obrigado pelos ajustes, @Lucas-Steffen! Os dois pontos da revisão anterior foram resolvidos, e concordo sobre o "Experimental" no Tag.tsx.

O último commit trouxe mudanças novas nos componentes de desafios e Sandpack que precisam de alguns ajustes (principalmente o titleId, que quebra âncoras do site). Também há dois pontos fora do diff:

  • Challenge.tsx:104: Next {isRecipes ? 'Example' : 'Challenge'} continua em inglês — sugestão: Próximo {isRecipes ? 'exemplo' : 'desafio'}.
  • ReloadButton.tsx:23: title="Keep your edits and reload sandbox" ficou em inglês — sugestão: Manter suas edições e recarregar a sandbox.

⚠️ Este PR agora tem conflito com a main em src/content/learn/describing-the-ui.md. No sync com o react.dev (#1290), a linha 535 (o alt do diagrama generic_render_tree) foi traduzida. Ao resolver, mantenha a linha 535 da main e a sua tradução no restante (linhas 529–555).

Comment thread src/content/learn/describing-the-ui.md Resolved
Comment thread src/sidebarLearn.json Resolved
Lucas-Steffen and others added 2 commits November 26, 2026 23:06
Co-authored-by: Jhon Mike <jhon.msdev@gmail.com>
…ve documentation consistency

refactor: rename variables and functions for improved readability and consistency in the worker-bundle.dist.js file

refactor: rename functions and variables for improved clarity and consistency in the worker-bundle.dist.js file

refactor: rename variables for clarity and consistency in the codebase

fix: update references from ge.ContextualKeyword to _e.ContextualKeyword and Ce.TokenType to we.TokenType for consistency and correctness in worker-bundle.dist.js

refactor: rename classes and variables for improved clarity and consistency across the codebase

refactor: rename functions and variables for improved clarity and consistency in the worker-bundle.dist.js file

fix: refactor variable names and function calls to improve code readability and maintainability across multiple files

refactor: rename function Eh to jh for improved clarity and consistency

refactor: rename token types and variables for consistency and clarity across the worker-bundle.dist.js file

refactor: rename variables for clarity and consistency in worker-bundle.dist.js code

refactor: rename instances of 'xr' to 'wr' for consistency and clarity in the worker-bundle.dist.js file

feat: update React and React DOM dependencies to version 19.3.0-canary for improved features and fixes across multiple components and documentation

feat: add blog post for React 19.3 release highlighting new features and improvements

feat: update tutorial content for React Developer Tools and add new documentation for `react-devtools-cdt-mcp` and `<img>` component

feat: add fetchPriority attribute to preinitModule and preloadModule documentation and create requestFormReset reference page with usage examples

chore: update React version references to 19.3.0-canary for consistency across documentation

fix: update documentation for useActionState and useServer to improve clarity and fix minor errors

feat: update version numbers and links in documentation to reflect React 19.3 release
@Lucas-Steffen

Copy link
Copy Markdown
Author

Olá @jhonmike, tudo certo?! Obrigado pela devolutiva e sugestões, apliquei as correções, poderia verificar por gentileza?!

This branch was successfully deployed

1 active deployment
Preview – pt-br-react-dev — 7cdbe8e8 Deployed Nov 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs author response Changes requested needing author's input

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants