Skip to content

Feat 9(pt.json) corrections in portuguese json file#8703

Closed
igorrm19 wants to merge 15 commits intonodejs:mainfrom
igorrm19:feat-9(pt.json)--corrections-in-Portuguese-JSON-file
Closed

Feat 9(pt.json) corrections in portuguese json file#8703
igorrm19 wants to merge 15 commits intonodejs:mainfrom
igorrm19:feat-9(pt.json)--corrections-in-Portuguese-JSON-file

Conversation

@igorrm19
Copy link

@igorrm19 igorrm19 commented Mar 7, 2026

Description

As a Brazilian, I noticed some problems related to the website's Portuguese translation; the pt.json file is extremely incomplete regarding other language settings.

This PR completes and corrects the European Portuguese (pt) locale by aligning packages/i18n/src/locales/pt.json with the existing en and pt-br locales. It adds missing navigation labels (including “Partners” and “EOL”), the migrations blog category, and fills gaps in the downloads page strings such as the LTS notice and the n platform description.

Validation

  • Confirmed that packages/i18n/src/locales/pt.json is valid JSON.
  • Verified that the About navigation renders the new “Partners” and “EOL” links in Portuguese.
  • Verified that the blog category filter shows the “Migrations” category in Portuguese.
  • Verified that the downloads page renders the new LTS notice and n platform description for the pt locale without runtime errors.

Related Issues

  • N/A

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

igorrm19 added 14 commits March 7, 2026 02:50
Adiciona a seção components.header que estava ausente no arquivo de
tradução pt.json. Esta seção contém as traduções para os botões de
seleção de tema (sistema, claro, escuro).
Adiciona o texto legal completo do footer e as pílulas de versão
(LTS Mais Recente e Versão Mais Recente). Também atualiza os links
do footer para incluir todos os campos necessários (termsOfUse,
bylaws, trademarkPolicy, trademarkList, cookiePolicy).
Adiciona os campos firstReleased, lastUpdated, status e details que
estavam ausentes na tabela de releases. Remove a seção actions que
não existe no arquivo de referência en.json.
Adiciona a tabela de downloads (downloadsTable) e o modal de informações
de release (releaseModal) que estavam ausentes. Estas seções são
essenciais para a funcionalidade de downloads do site.
Adiciona as seções eolAlert, eolChip, eolModal e eolTable que são
essenciais para exibir informações sobre versões que atingiram End
of Life (EOL). Estas seções incluem alertas, chips de severidade,
modais com informações de vulnerabilidades e tabelas de EOL.
Adiciona a tabela de releases menores (minorReleasesTable) e a visão
geral de releases (releaseOverview). Estas seções são usadas para
exibir informações detalhadas sobre versões menores e visão geral
das releases do Node.js.
Atualiza a seção themeToggle para incluir as opções light e dark
separadas, e adiciona o campo skipToContent que estava ausente na
seção common.
Adiciona o campo metadata na seção metabar e cria a seção banner
completa com os tipos de notificações (default, warning, error).
Expande a seção search que estava muito incompleta, adicionando todas
as traduções necessárias para a funcionalidade de busca moderna,
incluindo chat com IA, sugestões, atalhos de teclado e mensagens de
erro.
Adiciona os links faltantes nas seções de aprendizado:
- userlandMigrations em gettingStarted
- Seção http completa
- discoverPromisesInNodejs em asynchronousWork
- understandingAndTuningMemory em diagnostics
- collectingCodeCoverage em testRunner
@igorrm19 igorrm19 requested a review from a team as a code owner March 7, 2026 07:01
@vercel
Copy link

vercel bot commented Mar 7, 2026

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

Project Deployment Actions Updated (UTC)
nodejs-org Ready Ready Preview Mar 7, 2026 7:02am

Request Review

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! 🙏

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

Note

Your Pull Request seems to be updating Translations of the Node.js Website.

Whilst we appreciate your intent; Any Translation update should be done through our Crowdin Project.
We recommend giving a read on our Translation Guidelines.

Thank you!

Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com>
@ovflowd
Copy link
Member

ovflowd commented Mar 7, 2026

Hey Igor, thank you for contributing to the project! As you might have seen by the bot comment above and our README.md, translations are done via Crowdin. Please follow the instructions on our README.md.

Thank you!

Cheers,

@ovflowd ovflowd closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants