Skip to content

feat(i18n): add Brazilian Portuguese localization and documentation#4850

Draft
DevJoaoLopes wants to merge 1 commit into
module-federation:mainfrom
DevJoaoLopes:feature/pt-br-docs-i18n
Draft

feat(i18n): add Brazilian Portuguese localization and documentation#4850
DevJoaoLopes wants to merge 1 commit into
module-federation:mainfrom
DevJoaoLopes:feature/pt-br-docs-i18n

Conversation

@DevJoaoLopes

Copy link
Copy Markdown

Description

Introduces the PT-BR translation to the module federation website.

Related Issue

Closes #4829

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@changeset-bot

changeset-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0e0e028

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 0e0e028
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/6a3efb841f42eb00080db71e
😎 Deploy Preview https://deploy-preview-4850--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@DevJoaoLopes DevJoaoLopes marked this pull request as draft June 26, 2026 22:22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0e0e0287d7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

[
{
"text": "IA",
"link": "/ai/",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Trim PT-BR nav to translated pages

The new PT-BR docs tree only adds index.md, configure/index.mdx, and guide/start/index.mdx, but this navbar points users at untranslated PT-BR routes such as /pt-BR/ai/, /pt-BR/integrations/..., /pt-BR/plugin/dev/index, /pt-BR/showcase/index, and /pt-BR/blog/index. Unlike the existing en/zh nav files, those paths have no matching files under apps/website-new/docs/pt-BR, so clicking these entries in the Portuguese locale lands on 404s; either add the translated pages or remove/fallback these nav items until they exist.

Useful? React with 👍 / 👎.

label: 'English',
},
{
lang: 'pt-BR',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add the PT-BR quick-start page before enabling the locale

When this locale is enabled, the shared HomeFooter builds /pt-BR/guide/start/quick-start for its quick-start item via useLang(), but this commit only adds docs/pt-BR/guide/start/index.mdx and no quick-start page. As a result the Portuguese homepage ships with a footer link to a missing route; add the translated quick-start page or special-case the footer link for PT-BR.

Useful? React with 👍 / 👎.

@pkg-pr-new

pkg-pr-new Bot commented Jul 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/@module-federation/devtools@0e0e028

@module-federation/cli

pnpm add https://pkg.pr.new/@module-federation/cli@0e0e028

create-module-federation

pnpm add https://pkg.pr.new/create-module-federation@0e0e028

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/@module-federation/dts-plugin@0e0e028

@module-federation/enhanced

pnpm add https://pkg.pr.new/@module-federation/enhanced@0e0e028

@module-federation/error-codes

pnpm add https://pkg.pr.new/@module-federation/error-codes@0e0e028

@module-federation/esbuild

pnpm add https://pkg.pr.new/@module-federation/esbuild@0e0e028

@module-federation/managers

pnpm add https://pkg.pr.new/@module-federation/managers@0e0e028

@module-federation/manifest

pnpm add https://pkg.pr.new/@module-federation/manifest@0e0e028

@module-federation/metro

pnpm add https://pkg.pr.new/@module-federation/metro@0e0e028

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnc-cli@0e0e028

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnef@0e0e028

@module-federation/metro-plugin-rock

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rock@0e0e028

@module-federation/modern-js

pnpm add https://pkg.pr.new/@module-federation/modern-js@0e0e028

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/@module-federation/modern-js-v3@0e0e028

@module-federation/native-federation-tests

pnpm add https://pkg.pr.new/@module-federation/native-federation-tests@0e0e028

@module-federation/native-federation-typescript

pnpm add https://pkg.pr.new/@module-federation/native-federation-typescript@0e0e028

@module-federation/nextjs-mf

pnpm add https://pkg.pr.new/@module-federation/nextjs-mf@0e0e028

@module-federation/node

pnpm add https://pkg.pr.new/@module-federation/node@0e0e028

@module-federation/observability-plugin

pnpm add https://pkg.pr.new/@module-federation/observability-plugin@0e0e028

@module-federation/playground

pnpm add https://pkg.pr.new/@module-federation/playground@0e0e028

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/@module-federation/retry-plugin@0e0e028

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/@module-federation/rsbuild-plugin@0e0e028

@module-federation/rspack

pnpm add https://pkg.pr.new/@module-federation/rspack@0e0e028

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/@module-federation/rspress-plugin@0e0e028

@module-federation/runtime

pnpm add https://pkg.pr.new/@module-federation/runtime@0e0e028

@module-federation/runtime-core

pnpm add https://pkg.pr.new/@module-federation/runtime-core@0e0e028

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/@module-federation/runtime-tools@0e0e028

@module-federation/sdk

pnpm add https://pkg.pr.new/@module-federation/sdk@0e0e028

@module-federation/storybook-addon

pnpm add https://pkg.pr.new/@module-federation/storybook-addon@0e0e028

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/@module-federation/third-party-dts-extractor@0e0e028

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/@module-federation/treeshake-frontend@0e0e028

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/@module-federation/treeshake-server@0e0e028

@module-federation/typescript

pnpm add https://pkg.pr.new/@module-federation/typescript@0e0e028

@module-federation/utilities

pnpm add https://pkg.pr.new/@module-federation/utilities@0e0e028

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/@module-federation/webpack-bundler-runtime@0e0e028

@module-federation/bridge-react

pnpm add https://pkg.pr.new/@module-federation/bridge-react@0e0e028

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/@module-federation/bridge-react-webpack-plugin@0e0e028

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/@module-federation/bridge-shared@0e0e028

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/@module-federation/bridge-vue3@0e0e028

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/@module-federation/inject-external-runtime-core-plugin@0e0e028

commit: 0e0e028

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Report

10 package(s) changed, 32 unchanged.

Package dist + ESM entry

Package Total dist (raw) Delta ESM gzip Delta
@module-federation/cli 26.3 kB no change 786 B no change
@module-federation/core 39.1 kB no change 173 B no change
@module-federation/devtools 665.5 kB no change 4.0 kB no change
@module-federation/enhanced 810.0 kB no change 672 B no change
@module-federation/managers 69.8 kB no change 334 B no change
@module-federation/manifest 136.1 kB no change 182 B no change
@module-federation/metro-plugin-rnc-cli 0 B no change 314 B no change
@module-federation/node 193.4 kB no change 217 B no change
@module-federation/storybook-addon 79.2 kB no change 100 B no change
@module-federation/utilities 110.6 kB no change 328 B no change

Bundle targets

Package Web bundle (gzip) Delta Node bundle (gzip) Delta
@module-federation/cli 2.3 kB -34 B (-1.4%) 2.3 kB -34 B (-1.4%)
@module-federation/core 1.1 kB -33 B (-2.9%) 1.0 kB -32 B (-3.0%)
@module-federation/devtools 30.3 kB -28 B (-0.1%) 30.3 kB -28 B (-0.1%)
@module-federation/enhanced 2.6 kB -45 B (-1.6%) 2.6 kB -45 B (-1.6%)
@module-federation/managers 2.4 kB -27 B (-1.1%) 2.4 kB -27 B (-1.1%)
@module-federation/manifest 6.1 kB -41 B (-0.7%) 6.1 kB -41 B (-0.7%)
@module-federation/metro-plugin-rnc-cli 411 B -27 B (-6.2%) 411 B -27 B (-6.2%)
@module-federation/node 9.2 kB -28 B (-0.3%) 9.2 kB -28 B (-0.3%)
@module-federation/storybook-addon 1.9 kB -25 B (-1.3%) 1.7 kB -25 B (-1.4%)
@module-federation/utilities 2.6 kB -32 B (-1.2%) 2.6 kB -32 B (-1.2%)

Consumer scenarios

Scenario Web output (gzip) Delta Node output (gzip) Delta Gap (node-web) Delta
Enhanced remoteEntry 21.4 kB -22 B (-0.1%) 22.5 kB -12 B (-0.1%) +1.1 kB +10 B

Total dist (raw): 35.63 MB (no change)
Total ESM gzip: 129.5 kB (no change)
Total web bundle (gzip): 254.4 kB (-320 B (-0.1%))
Total node bundle (gzip): 254.8 kB (-319 B (-0.1%))
Tracked ./bundler entry gzip: 556 B (no change)
Tracked ./bundler web bundle (gzip): 4.8 kB (no change)
Tracked ./bundler node bundle (gzip): 4.8 kB (no change)

Bundle sizes are generated with rslib (Rspack). Package-root metrics preserve the historical report. Tracked subpath exports such as ./bundler are measured separately so ENV_TARGET-driven tree-shaking is visible. Bare imports are externalized to keep package-level sizes consistent, and assets are emitted as resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add full translation to Portuguese (Brazil) to the official documents.

1 participant