Repository navigation
feat(i18n): add Vietnamese (vi) locale support - #709
Merged
Merged
Conversation
- Add dashboard vi locale covering every key (UI labels, diff, tour, edge labels and onboarding steps) - Register vi in locales/index.ts; resolveLocaleKey maps vi, vi-vn and vietnamese, unknown languages still fall back to en - Add skills/understand/locales/vi.md output guidance so /understand graph content gets Vietnamese tag, summary and layer conventions - Document vietnamese -> vi normalization in the /understand skill - List vi in the supported-languages line across all READMEs - Add dashboard tests locking vi resolution and key-shape parity with en
- Add READMEs/README.vi-VN.md translated from the current English README (updated repo paths, .ua data dir, Kiro/Nanobot platforms, viewer section) - Add the Tiếng Việt entry to the language switcher in every README
Open
7 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds first-class Vietnamese (
vi) support to the dashboard UI and to/understandgraph output.Changes
packages/dashboard/src/locales/vi.tscovering every key (UI labels, diff/tour, all 38 edge labels, onboarding steps).viinlocales/index.ts(LocaleKey,localesrecord) and mapsvi,vi-vnandvietnameseinresolveLocaleKey; unknown languages still fall back toen.skills/understand/locales/vi.md(tag conventions, summary style, technical terms, layer names) so/understand --language vigets Vietnamese-specific guidance; the friendly-name map now documentsvietnamese → vi.READMEs/README.vi-VN.mdand aTiếng Việtentry in the language switcher of every README;viadded to the supported-languages line.packages/dashboard/src/__tests__/locales.test.tslocksviresolution and full key-shape parity withen.Testing
pnpm --filter @understand-anything/dashboard build(tsc + vite)pnpm --filter @understand-anything/dashboard test— 107 passedpnpm --filter @understand-anything/core test— 1013 passedpnpm --filter @understand-anything/skill buildpnpm test— 786 passedNotes
A few dashboard components still contain hardcoded English strings (TokenGate, PathFinderModal, StalenessBanner), consistent with the other five locales — localizing those is a possible follow-up outside this PR.