Skip to content

Feat/i18n#212

Open
Harbduls wants to merge 2 commits into
Miracle656:mainfrom
Harbduls:feat/i18n
Open

Feat/i18n#212
Harbduls wants to merge 2 commits into
Miracle656:mainfrom
Harbduls:feat/i18n

Conversation

@Harbduls

Copy link
Copy Markdown

Closes #170

Harbduls added 2 commits May 28, 2026 19:56
- Install react-i18next, i18next, and i18next-browser-languagedetector
- Create i18n configuration with lazy-loading from /locales
- Add English baseline translations for all user-facing strings
- Add Spanish translations for dashboard, send, receive, and settings flows
- Wrap user-facing strings in t() calls across key pages
- Add LanguageSwitcher component in settings page
- Auto-detect browser language on first load
- Persist language selection in localStorage
- Organize translations into logical namespaces: common, dashboard, send, receive, settings, errors
@Harbduls Harbduls requested a review from Miracle656 as a code owner May 28, 2026 19:00
@vercel

vercel Bot commented May 28, 2026

Copy link
Copy Markdown

@Harbduls is attempting to deploy a commit to the miracle656's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented May 28, 2026

Copy link
Copy Markdown

@Harbduls 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! 🚀

Learn more about application limits

@Miracle656 Miracle656 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on i18n — the en/es locale split, LanguageSwitcher, and lib/i18n.ts are well-organized. A few things before merge:

  1. Conflicts — the branch is behind main and now conflicts (several app/*/page.tsx files have moved, plus package-lock.json). Please rebase on the latest main.
  2. Remove committed build artifactsfrontend/wallet/tsconfig.tsbuildinfo and .vscode/settings.json shouldn't be in the PR (the tsbuildinfo is a generated cache). Please drop them and add tsbuildinfo to .gitignore if it isn't already.

Once rebased and the artifacts are removed, I'll review the locale wiring and merge.

@Miracle656

Copy link
Copy Markdown
Owner

Friendly nudge — i18n is now CONFLICTING with main. Please rebase and address the review.

If you're still up for it, please rebase on the latest main and address the review by 2026-07-01 — otherwise I'll close this to keep the queue tidy (you can always reopen). Thanks for contributing! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add internationalization (react-i18next)

2 participants