Repository navigation
feat(i18n): localize project tutor page (#3784) - #3846
Open
ritikadevi-12 wants to merge 2 commits into
Open
ritikadevi-12 wants to merge 2 commits into
ritikadevi-12 wants to merge 2 commits into
Conversation
|
Thanks for your first PR on DevTrack! 🎉 A maintainer will review it within 48 hours. While you wait:
If you find DevTrack useful, a ⭐ star on the repo is always appreciated — it helps the project grow and attract more contributors! |
Priyanshu-byte-coder
requested changes
Nov 26, 2026
Priyanshu-byte-coder
left a comment
Owner
There was a problem hiding this comment.
The component changes look right, but the translations themselves are missing: messages/en.json, es.json, hi.json and pt-BR.json have no projectTutor keys in this PR, so the page would show raw key names and the new i18n test can't pass. I think the JSON files just didn't get committed. Please add the projectTutor namespace to all four files.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Localizes the entire Project Tutor page experience under the
projectTutornamespace usingnext-intl.projectTutormessage namespace with 31 leaf keys.messages/en.json,messages/es.json,messages/hi.json, andmessages/pt-BR.jsonwith 100% key and parameter parity.src/components/ProjectTutorClient.tsxcovering all static UI strings, tab titles, card text, status badges, buttons, error messages, and accessible ARIA attributes.useLocale()andIntl.DateTimeFormat.projectTutorlookup and key validation tests intest/i18n.test.ts.Verification
pnpm exec vitest run test/i18n.test.tspassed (33/33 tests).pnpm run type-checkpassed with 0 errors.pnpm run lintpassed with 0 errors.es) locale:Closes #3784