Skip to content

feat(docs): Brazilian Portuguese (pt-br) translations#415

Merged
vishr merged 5 commits into
masterfrom
i18n-pt-br
Jun 16, 2026
Merged

feat(docs): Brazilian Portuguese (pt-br) translations#415
vishr merged 5 commits into
masterfrom
i18n-pt-br

Conversation

@vishr

@vishr vishr commented Jun 16, 2026

Copy link
Copy Markdown
Member

What

Adds Brazilian Portuguese (pt-br) as a fifth locale, alongside English, 简体中文, 日本語, and Español. Full translation pass of Guide, Middleware, and Cookbook (59 docs), done via Codex.

Changes

  • astro.config.mjs — register the pt-br locale ({ label: 'Português', lang: 'pt-BR' }) and add pt-BR sidebar group-label translations (Guia / Middleware / Receitas).
  • src/content/docs/pt-br/** — 59 translated docs mirroring the en structure (14 guide, 25 middleware, 20 cookbook).

Notes / verification

  • The branch predated the Spanish PR (feat(docs): Spanish (es) translations #414), so I merged current master in and resolved the astro.config.mjs conflict — all five locales now coexist (en / zh-cn / ja / es / pt-br), and the es content is preserved.
  • Sidebar pt-BR translation key correctly uses the BCP-47 lang tag (matching lang: 'pt-BR'), consistent with the zh-CN convention.
  • Production build passes: 301 pages, including 60 pt-br/ HTML pages.
  • Integrity checks: all code fences balanced, no un-localized internal links, no blank descriptions, frontmatter translated.

🤖 Generated with Claude Code

@vishr vishr merged commit a8595f1 into master Jun 16, 2026
2 checks passed
@vishr vishr deleted the i18n-pt-br branch June 16, 2026 18:48
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.

1 participant