Repository navigation
feat(l10n): add Persian (Farsi) locale - #410
Conversation
Register fa in supported languages, ship app_fa.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.
sparkleMing
left a comment
There was a problem hiding this comment.
Updated to latest main, added the localization keys introduced by #412, regenerated the Farsi localization class, and verified the targeted l10n tests plus static analysis locally.
Summary
faas a new supported locale (additive; does not change existing languages).app_fa.arbwith full UI string coverage andapp_localizations_ext_fa.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.