-
Notifications
You must be signed in to change notification settings - Fork 5
Dapp i18n (ES/EN) with next-intl #40
Copy link
Copy link
Open
Labels
GrantFox OSSPart of the GrantFox OSS programPart of the GrantFox OSS programMaybe RewardedThis issue may receive a reward or bountyThis issue may receive a reward or bountyOfficial CampaignPart of an official ZCore campaignPart of an official ZCore campaignenhancementNew feature or requestNew feature or request
Description
Metadata
Metadata
Assignees
Labels
GrantFox OSSPart of the GrantFox OSS programPart of the GrantFox OSS programMaybe RewardedThis issue may receive a reward or bountyThis issue may receive a reward or bountyOfficial CampaignPart of an official ZCore campaignPart of an official ZCore campaignenhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
Add i18n (ES/EN) to the dapp with
next-intl— eliminate mixed Spanish/English copy across auth and dashboard.Background
Current UX mixes languages (e.g. Spanish errors in
wallet-network.ts, English page titles). Landing is EN-first; LatAm users need consistent ES.Implementation
Library:
next-intl(App Router)Scope (v1 pages):
/,/login,/register/dashboard/*wallet-auth-card.tsx,api-errors.tsuser-facing stringsLocale switcher: footer toggle in
DappShellDefault:
en; persist choice in cookieAcceptance criteria
npm run buildpasses with both localesCONTRIBUTING.mdsection: how to add translation keysapi-errors.tsOut of scope