Skip to content

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

Open
samuelpatak-png wants to merge 1 commit into
mergeos-bounties:masterfrom
samuelpatak-png:feat/issue-8-vi-ui-toggle
Open

feat(web): EN/VI chrome UI language toggle (Fixes #8)#136
samuelpatak-png wants to merge 1 commit into
mergeos-bounties:masterfrom
samuelpatak-png:feat/issue-8-vi-ui-toggle

Conversation

@samuelpatak-png

Copy link
Copy Markdown

Summary

Completes the Vietnamese UI strings toggle for BeeAR chrome UI.

  • EN/VI string packs on 2D try-on (app.js) and 3D studio (studio3d.js)
  • #btn-lang toggles EN ↔ VI; selection persists in localStorage['beear_lang']
  • Translates filter options, empty catalog/gallery states, loading chrome, consent/cloud labels
  • Updates document.documentElement.lang
  • Android WebView assets synced for parity
  • Unit tests: packages/web/tests/i18n.test.mjs
  • Screenshots: docs/screenshots/issue-8-ui-en.png, docs/screenshots/issue-8-ui-vi.png (+ existing demo-vi-ui.png)

Fixes #8

Test plan

  • node --test packages/web/tests/i18n.test.mjs (5/5 pass)
  • node --check on app.js / studio3d.js
  • Triple review: key parity, Android sync, no stale hard-coded chrome strings in hot paths
  • Manual: open demo → click VI → chrome becomes Vietnamese → reload keeps VI → click EN

Screenshots

  • EN: docs/screenshots/issue-8-ui-en.png
  • VI: docs/screenshots/issue-8-ui-vi.png

Made with Cursor

Persist language in localStorage, translate filter/empty/loading chrome
strings, add studio3d parity, sync Android WebView assets, and add
screenshot evidence for issue mergeos-bounties#8.

Fixes mergeos-bounties#8

Co-authored-by: Cursor <cursoragent@cursor.com>
@laurentketterle-hub

Copy link
Copy Markdown

QA Verification — BeeAR#136

PR: feat(web): EN/VI chrome UI language toggle (Fixes #8)
Author: @samuelpatak-png | SHA: bbdd51f

CI: no checks

  • No checks

Tests

✅ no tests

Evidence

| Screenshots | ✅ |
| Video/GIF | ❌ |
| Logs | ❌ |

Verdict: ✅ APPROVE

Auto-verified via PR Verify Tool

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

3 participants