Repository navigation
feat(l10n): add Vietnamese locale - #411
Conversation
Register vi in supported languages, ship app_vi.arb and extension localizations, and add locale lookup smoke tests.
PR AI Review / PR AI 语义预检中文
AI 语义预检未得到可解析结果,需要 maintainer 人工审核。 影响范围
黄金链路
风险项
测试缺口
English
AI semantic review did not return a parseable result; maintainer review is required. Affected Areas
Golden Path
Findings
Test Gaps
|
PR Preflight Summary / PR 预检汇总中文
English
PR Policy Preflight / PR 规则预检PR Policy Preflight / PR 规则预检中文
未发现确定性规则问题。 English
No deterministic policy findings. PR Flutter Quality / Flutter 质量预检PR Flutter Quality / Flutter 质量预检中文
English
Flutter Analyzer Baseline
No new analyzer issues introduced by this PR. Flutter Test Baseline
No new Flutter test failures introduced by this PR. |
sparkleMing
left a comment
There was a problem hiding this comment.
Blocking after #412 landed on main: this locale does not implement the newly added ARB keys (commentAuthorUser, commentAuthorAi, authorizationCancelled, timelineWeekNumberLabel, timelineWeekLabel, eventCardDefaultTitle, memoryNoLongTermYet, memoryNoRecentBuffer, and memoryGeneralSubject). The current green CI was run against the older base, so merging now would leave the generated locale subclass missing abstract getters and break compilation. Please rebase/merge latest main, translate these keys in this locale's ARB, rerun flutter gen-l10n, and rerun the locale lookup/full Flutter checks.
# Conflicts: # lib/l10n/supported_languages.dart
sparkleMing
left a comment
There was a problem hiding this comment.
Updated to the latest main (including the Farsi locale), resolved the language registry conflict while preserving both fa and vi, added the localization keys introduced by #412, regenerated the Vietnamese localization class, and verified targeted l10n tests plus static analysis locally.
Summary
vias a new supported locale (additive; does not change existing languages).app_vi.arbwith UI string coverage andapp_localizations_ext_vi.dartfor agent prompts, OAuth copy, and default characters.supported_languages.dartand adds locale lookup smoke tests.Test plan
flutter gen-l10ndart analyze lib/l10n/ test/l10n/locale_lookup_test.dartflutter test test/l10n/locale_lookup_test.dart(blocked locally bysherpa_onnxpub resolution)cc @sparkleMing @whbzju for review when convenient.