feat(i18n): add Brazilian Portuguese localization and documentation#4850
feat(i18n): add Brazilian Portuguese localization and documentation#4850DevJoaoLopes wants to merge 1 commit into
Conversation
|
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
💡 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/", |
There was a problem hiding this comment.
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', |
There was a problem hiding this comment.
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 👍 / 👎.
@module-federation/devtools
@module-federation/cli
create-module-federation
@module-federation/dts-plugin
@module-federation/enhanced
@module-federation/error-codes
@module-federation/esbuild
@module-federation/managers
@module-federation/manifest
@module-federation/metro
@module-federation/metro-plugin-rnc-cli
@module-federation/metro-plugin-rnef
@module-federation/metro-plugin-rock
@module-federation/modern-js
@module-federation/modern-js-v3
@module-federation/native-federation-tests
@module-federation/native-federation-typescript
@module-federation/nextjs-mf
@module-federation/node
@module-federation/observability-plugin
@module-federation/playground
@module-federation/retry-plugin
@module-federation/rsbuild-plugin
@module-federation/rspack
@module-federation/rspress-plugin
@module-federation/runtime
@module-federation/runtime-core
@module-federation/runtime-tools
@module-federation/sdk
@module-federation/storybook-addon
@module-federation/third-party-dts-extractor
@module-federation/treeshake-frontend
@module-federation/treeshake-server
@module-federation/typescript
@module-federation/utilities
@module-federation/webpack-bundler-runtime
@module-federation/bridge-react
@module-federation/bridge-react-webpack-plugin
@module-federation/bridge-shared
@module-federation/bridge-vue3
@module-federation/inject-external-runtime-core-plugin
commit: |
Bundle Size Report10 package(s) changed, 32 unchanged. Package dist + ESM entry
Bundle targets
Consumer scenarios
Total dist (raw): 35.63 MB (no change) Bundle sizes are generated with rslib (Rspack). Package-root metrics preserve the historical report. Tracked subpath exports such as |
Description
Introduces the PT-BR translation to the module federation website.
Related Issue
Closes #4829
Types of changes
Checklist