Skip to content

feat(web): EN/VI chrome UI language toggle (Fixes #8)#105

Open
kevinnft wants to merge 1 commit into
mergeos-bounties:masterfrom
kevinnft:feat/vi-ui-strings-toggle-8
Open

feat(web): EN/VI chrome UI language toggle (Fixes #8)#105
kevinnft wants to merge 1 commit into
mergeos-bounties:masterfrom
kevinnft:feat/vi-ui-strings-toggle-8

Conversation

@kevinnft

Copy link
Copy Markdown

Summary

Completes the Vietnamese UI strings toggle bounty for BeeAR chrome UI.

  • Shared EN/VI string packs (packages/web/i18n.mjs + browser IIFE assets/i18n.js)
  • #btn-lang toggles EN ↔ VI on 2D try-on and 3D studio
  • Persists selection in localStorage['beear_lang']
  • Translates filter options, empty catalog/gallery states, consent, cloud labels, and studio chrome
  • Unit tests + CI job web-i18n
  • Evidence: docs/evidence-issue-8-vi-ui.md (+ existing docs/screenshots/demo-vi-ui.png)

Fixes #8

Test plan

  • node --test packages/web/tests/i18n.test.mjs (7/7 pass)
  • node --check on app.js / studio3d.js / i18n.js
  • Manual: open demo → click VI → chrome becomes Vietnamese → reload keeps VI → click EN

Evidence

See docs/evidence-issue-8-vi-ui.md.

Risk notes

  • Chrome UI only (SKU names stay catalog data)
  • No network; private-mode localStorage fails soft → default EN

Fixes mergeos-bounties#8

- Shared EN/VI string packs (i18n.mjs + browser IIFE assets/i18n.js)
- Persist language in localStorage (`beear_lang`)
- Translate filter options, empty states, consent, and 3D studio chrome
- Unit tests + CI job `web-i18n`
- Evidence notes in docs/evidence-issue-8-vi-ui.md
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.

[25 MRG] Vietnamese UI strings toggle

1 participant