Skip to content

i18n(pt-br): bring tutorial sub-pages up-to-date#14081

Merged
yanthomasdev merged 5 commits into
withastro:mainfrom
rafaelcoelhox:i18n-pt-br-tutorial-subpages-up-to-date
Jun 17, 2026
Merged

i18n(pt-br): bring tutorial sub-pages up-to-date#14081
yanthomasdev merged 5 commits into
withastro:mainfrom
rafaelcoelhox:i18n-pt-br-tutorial-subpages-up-to-date

Conversation

@rafaelcoelhox

Copy link
Copy Markdown
Contributor

Description (required)

Brings the pt-br tutorial step pages up-to-date with their English sources, syncing changes made since the last pt-br translation. Organized into three review-friendly commits:

  1. Mobile menu refactor (3-components/3, 3-components/4, 6-islands/2) — Hamburger → accessible <button> Menu component (aria-*, main-menu/.menu, :has() selector, dark-mode styles, built-in TypeScript support).
  2. Unit 1 setup (1-setup/1, 1-setup/2, 1-setup/5) — Node.js version guidance (even-numbered, min v22.12.0), create astro commands and restructured setup steps, Netlify import steps + deploy guide link.
  3. Remaining content (2-pages/1, 4-layouts/3, 6-islands/3) — duplicate code-fence tag fix, meta charset step, reordered about.astro script + StackBlitz wording.

All changes mirror the current English source; no English files were modified. Prettier passes.

Related issues & labels (optional)

  • Suggested label: i18n

@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

Deploy Preview for astro-docs-2 failed. Why did it fail? →

Built without sensitive environment variables

Name Link
🔨 Latest commit 6236d46
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/6a32130180da8a00093e3eae

@github-actions github-actions Bot added the i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! label Jun 17, 2026
@astrobot-houston

astrobot-houston commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
pt-br/tutorial/1-setup/2.mdx Localization changed, will be marked as complete.
pt-br/tutorial/3-components/3.mdx Localization changed, will be marked as complete.
pt-br/tutorial/3-components/4.mdx Localization changed, will be marked as complete.
pt-br/tutorial/4-layouts/3.mdx Localization changed, will be marked as complete.
pt-br/tutorial/6-islands/2.mdx Localization changed, will be marked as complete.
pt-br/tutorial/6-islands/3.mdx Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@rafaelcoelhox

Copy link
Copy Markdown
Contributor Author

Hi @YanThomas and Astro Docs i18n team!

I’ve read through the contribution and i18n docs, but I wanted to leave a quick comment because I opened a few pt-BR PRs in sequence.

Just to make the context clear: this is not automated activity or bot-generated spam. I’m trying to help bring the existing pt-BR docs up to date before starting translations for pages that still don’t have a pt-BR version.

Related PRs:

PR Scope
PR 14078 Updates concepts/islands.mdx and upgrade-astro.mdx
PR 14079 Updates several outdated pt-BR pages with small link/code/version fixes
PR 14080 Updates the pt-BR tutorial unit index pages
PR 14081 Updates several pt-BR tutorial sub-pages

Before I continue opening more PRs, I’d like to confirm if this plan makes sense for the pt-BR docs.

My idea is to keep future PRs small, grouped by section/topic, avoid mixing unrelated pages, and submit tutorial updates or new translations in small batches.

Do you prefer this workflow, or would it be better to wait for the current PRs to be reviewed first, open a tracking issue, or coordinate the next pages somewhere else?

@yanthomasdev

Copy link
Copy Markdown
Member

Hey @rafaelcoelhox, this workflow is fine, you can continue doing it and I appreciate the message!

Regarding this page, could you fix the merge conflict?

@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

Preview deployment

🔄 Deployment in progress...

@rafaelcoelhox

rafaelcoelhox commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the review and for confirming the workflow, I really appreciate it! I fixed the merge conflict. @yanthomasdev

@yanthomasdev yanthomasdev 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.

LGTM! Great work! 🚀

@yanthomasdev yanthomasdev merged commit 11368a7 into withastro:main Jun 17, 2026
9 checks passed
HiDeoo added a commit that referenced this pull request Jun 18, 2026
* main: (32 commits)
  fix: add missing `fallbackType` option in i18n `middleware()` (#14084)
  i18n(pt-br): bring tutorial sub-pages up-to-date (#14081)
  i18n(zh-tw): update `guides/deploy/github.mdx` (#13996)
  i18n(pt-br): bring tutorial unit index pages up-to-date (#14080)
  i18n(pt-br): Update islands and upgrade-astro translations (#14078)
  i18n(pt-br): Bring outdated pages up to date (#14079)
  i18n(fr): update `integrations-guide/mdx` (#14073)
  i18n(ko-KR): update `mdx.mdx` (#14082)
  i18n(de): Bring outdated pages up-to-date (#14068)
  i18n(ko-KR): update `recipes/` (#14071)
  Fix preview alias validation for numeric branch names (#14075)
  Describe interaction of getHeadings with MDX imports (#14072)
  [ci] format
  Fix redirects: handle in worker.js instead of _redirects (#14069)
  Fix preview deploys for PRs targeting version branches (#14066)
  ci: update nightly reference sync for v7 transition (#14064)
  [ci] format
  Deploy Lunaria translation dashboard to Cloudflare Workers (#14061)
  ci: update docs contributors (#14058)
  fix: update `nightly.yml` to pull v7 config and errors changes (#14049)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants