Skip to content

fix(ux): P1 — i18n the Apps, Notifications, More & AI Assistant screens - #105

Merged
os-zhuang merged 2 commits into
mainfrom
fix/ux-p1-i18n
Jun 10, 2026
Merged

fix(ux): P1 — i18n the Apps, Notifications, More & AI Assistant screens#105
os-zhuang merged 2 commits into
mainfrom
fix/ux-p1-i18n

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

P1 from the mobile UX walkthrough: several screens shipped hardcoded English, so a zh/ar user saw localized navigation chrome wrapped around English body text.

What's localized

Every user-facing string (and a11y label) on:

  • Apps — title, loading/empty/error states, install count (i18next plural), open label
  • Notifications — title, unread count, mark-all-read, empty state
  • More — profile fallback, all section headers + menu labels, sign-out confirm/toast
  • AI Assistant — header, thinking/copy states, conversations drawer, rename dialog, empty state + example prompts, input placeholder, send/stop/retry

New apps / notifications / more / ai namespaces added to en / zh / ar.

Notes

Verification

Browser (zh locale): Apps shows 已安装 1 个应用, Notifications 暂无通知 / 你已全部处理完毕…, More 账户 / 账户与安全 / AI 助手 / 退出登录, and the AI Assistant empty state 向助手提问 + Chinese example prompts. 1266 tests pass, typecheck + lint clean.

🤖 Generated with Claude Code

os-zhuang and others added 2 commits June 10, 2026 20:43
These screens shipped hardcoded English, so a Chinese (or Arabic) user saw a
mix of localized chrome and English body text. Wire every user-facing string
(titles, empty states, section headers, menu labels, the assistant's header /
empty state / example prompts / input / actions, plus a11y labels) through
i18next with new `apps`/`notifications`/`more`/`ai` namespaces in en, zh and
ar. Apps uses an i18next plural for the installed-count.

Home is intentionally left to its own PR (already i18n'd there) to avoid a
merge conflict.

The AIAssistant test now resolves `t(key)` against the real en bundle, so its
English assertions hold while the screen reads from i18n.

Verified in the browser (zh): Apps ("已安装 1 个应用"), Notifications, More,
and the AI Assistant empty state all render Chinese. 1266 tests pass, lint clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
# Conflicts:
#	locales/ar.json
#	locales/en.json
#	locales/zh.json
@os-zhuang
os-zhuang merged commit 51ebe84 into main Jun 10, 2026
1 of 4 checks passed
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.

1 participant