Repository navigation
feat(i18n): ship Spanish and French catalogs - #1057
Merged
greatest0fallt1me merged 2 commits intoNov 23, 2026
Merged
greatest0fallt1me merged 2 commits into
greatest0fallt1me merged 2 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@Killerjunior is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Killerjunior Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
Thanks @Killerjunior! We resolved the merge conflicts on our side and merged this. 🎉 |
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.
Description
Adds Spanish and French translation catalogs and connects translations to the language preference across navigation, the markets page, and settings. Adds locale-aware formatting helpers and catalog/formatting tests.
Type of Change
Related Issues
Closes #994
Files Modified
en.ts,es.ts, andfr.ts: extend the English source catalog and add complete Spanish and French catalogs.index.tsandindex.ts: register catalogs, export formatting helpers, and document locale setup.format.ts: add Intl-based number, currency, date, and relative-time formatting.catalog-parity.test.tsandformat.test.ts: cover catalog keys, placeholders, empty values, and locale formatting.Navbar.tsxandMobileBottomTabs.tsx: translate navigation labels and related accessibility text.page.tsx: translate the markets header and filters; format displayed numbers by locale.account,privacy, andmotionpages: replace English UI literals with translations. The language page already usesuseTranslation().navbar.a11y.test.tsxanduseLanguage.test.ts: cover Spanish navbar labels and browser locale mapping.Key Changes
<html lang>; Spanish and French were already listed among supported languages.Testing
Validation evidence:
git diff --check— passed.pnpm test -- app/i18n hooks/__tests__/useLanguage.test.ts components/navbar/__tests__/navbar.a11y.test.tsx— not run;pnpmwas not recognized in the environment. Offline dependency restoration also could not complete because the package cache lacked a required tarball.Test Coverage
Code Quality
Functionality
Documentation
Security & Accessibility
Breaking Changes
Breaking Changes:
Migration Steps:
Additional Notes
Dependencies
Performance Impact