Description
Migrate hardcoded copy in src/app/explore/page.tsx and src/app/explore/[id]/page.tsx onto the i18n message catalog set up in the infra issue, so it can be translated.
Requirements and context
- Depends on the i18n infrastructure issue in this batch
- No visual or behavioral change for the default (English) locale
Suggested execution
- Fork the repo and create a branch
git checkout -b feature/i18n-extract-the-explore-pages
- Implement changes
- Replace inline strings in
src/app/explore/page.tsx and src/app/explore/[id]/page.tsx with message-catalog lookups
- Test and commit
- Existing tests for
src/app/explore/page.tsx and src/app/explore/[id]/page.tsx continue to pass with the default locale
Example commit message:
feat: externalize strings in the explore pages
Guidelines
- Assignment required before starting — comment on the issue and wait to be assigned.
- PR description must include:
Closes #[issue_id]
- Complexity: High (200 points)
Description
Migrate hardcoded copy in
src/app/explore/page.tsx and src/app/explore/[id]/page.tsxonto the i18n message catalog set up in the infra issue, so it can be translated.Requirements and context
Suggested execution
git checkout -b feature/i18n-extract-the-explore-pagessrc/app/explore/page.tsx and src/app/explore/[id]/page.tsxwith message-catalog lookupssrc/app/explore/page.tsx and src/app/explore/[id]/page.tsxcontinue to pass with the default localeExample commit message:
feat: externalize strings in the explore pagesGuidelines
Closes #[issue_id]