-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feat(i18n): enable pt-br translation #8403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
👋 Codeowner Review RequestThe 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! 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enables Brazilian Portuguese (pt-br) translation on the Node.js website by updating the i18n configuration to set enabled: true and adding the hrefLang value. The translation files are already complete in Crowdin and ready for use.
- Sets Brazilian Portuguese as an enabled language in the i18n configuration
- Adds
hrefLangvalue to enable proper HTML lang attribute generation
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bmuenzenmeyer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8403 +/- ##
==========================================
- Coverage 73.73% 73.71% -0.02%
==========================================
Files 107 107
Lines 9155 9155
Branches 308 308
==========================================
- Hits 6750 6749 -1
- Misses 2403 2404 +1
Partials 2 2 ☔ View full report in Codecov by Sentry. |
|
I've fast-tracked as I don't see reasons for why not getting this shipped asap :) |

Description
The pt-br (Brazilian Portuguese) language is now translated and reviewed in Crowdin, so I think it's time to enable it in the website.
Validation
Check in the language dropdown that "Brazilian Portuguese" is visible and navigates to
/pt-brpages correctly.Related Issues
N/A
Check List
pnpm formatto ensure the code follows the style guide.pnpm testto check if all tests are passing.pnpm buildto check if the website builds without errors.