Skip to content

i18n: translate the user-management screen#40

Merged
Vance1832 merged 1 commit into
mainfrom
i18n-user-management
Jun 25, 2026
Merged

i18n: translate the user-management screen#40
Vance1832 merged 1 commit into
mainfrom
i18n-user-management

Conversation

@Vance1832

Copy link
Copy Markdown
Owner

Completes the EN/Burmese localization of the owner console — the user-management screen (the last remaining one).

What

  • New userManagement namespace in both messages/en.ts and messages/my.ts (Burmese type-checked against English).
  • Localizes the summary cards, filter bar, users table, the create/edit/view detail drawer (all form fields, validation errors, view-mode cards), and the reset-password / disable / reactivate confirmation modals.
  • Dropdown options (role / status / verification / country code) and table columns built inside the component so they read t.
  • Role badge labels map through a ROLE_KEY object → message keys; reuses shared common.status / common.view / filters.all.
  • Filter values stay in English (filter logic unchanged); only labels are localized.

With this merged, the entire owner console is bilingual — completing the i18n effort across the user app, staff surface, console shell, and all owner screens.

Verification

npm run typecheck && npm run lint && npm test && npm run build — all green. Grepped the file for leftover capitalized literals (none).

🤖 Generated with Claude Code

Localize the owner-only user-management console screen (EN/Burmese): the
summary cards, filter bar, users table, the create/edit/view detail drawer
(including all form fields, validation errors, and view-mode cards), and the
reset-password / disable / reactivate confirmation modals. Adds a
`userManagement` namespace to both messages/en.ts and messages/my.ts, builds
the role/status/verification/country dropdown options and table columns inside
the component so they read `t`, and maps role keys to message keys via a
ROLE_KEY object. This completes the owner console i18n coverage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Vance1832 Vance1832 merged commit 1812df3 into main Jun 25, 2026
2 checks passed
@Vance1832 Vance1832 deleted the i18n-user-management branch June 25, 2026 13:33
Vance1832 added a commit that referenced this pull request Jun 25, 2026
All owner screens are now bilingual (result-periods #34, ledgers #35,
ledger-templates #36, result-entry #37, settlement-preview #38,
company-reserve #39, user-management #40), completing the EN/Burmese
localization across the whole app. Update HANDOFF.md and CLAUDE.md to reflect
that no screens remain; the i18n pattern is retained as reference for any new
screens. Real-time notifications is now the top remaining backlog item.

Co-authored-by: Khant Zayar <khantzayar0073@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants