中文对照版: i18n-settings-split.zh-CN.md
This repository splits messages/<locale>/settings.json into smaller JSON chunks under messages/<locale>/settings/.
messages/<locale>/settings/*.json: settings top-level object partsmessages/<locale>/settings/strings.json: top-level string keys that belong directly under settingsmessages/<locale>/settings/providers/*.json: settings.providers object partsmessages/<locale>/settings/providers/strings.json: provider-level string keysmessages/<locale>/settings/providers/form/*.json: settings.providers.form object partsmessages/<locale>/settings/providers/form/strings.json: provider form string keysRuntime composition happens in messages/<locale>/settings/index.ts and is imported by messages/<locale>/index.ts.
Translation quality rules and audit commands:
docs/i18n-translation-quality.mdSync keys across locales (canonical: zh-CN):
node scripts/sync-settings-keys.jsUnit tests:
bun run testScoped coverage for split-related modules:
bunx vitest run --coverage --coverage.include=scripts/sync-settings-keys.js --coverage.include=messages/**/settings/index.tsTypecheck:
bun run typecheckLint:
bun run lintProduction build:
bun run build