StabilityNexus / StabilityNexus/WalletLink

Add a translation seam for user-facing strings (i18n)

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
22h
Merged PRs (30d)
7

Description

All user-facing text in the connect UI is currently hardcoded English: the button label, the modal title ("Connect a wallet"), the pending and empty states, and the connect-error messages (WalletLinkButton.tsx, WalletLinkModal.tsx, describeConnectError in internal.tsx).

Deferred from the connect-UI PR review (raised by CodeRabbit). English-only is acceptable for the first release; this issue tracks exposing a translation seam later once the component API has settled.

Likely shape when we pick this up: a messages object or a t() callback prop so consumers can override every string, defaulting to the current English copy.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading WalletLinkButton.tsx, WalletLinkModal.tsx, and describeConnectError in internal.tsx to inventory the button, modal, state, and error strings. Review the current component API before choosing between a messages object and a t() callback. Done means consumers can override every user-facing string while the default output remains the current English copy.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, internationalization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.