flatten() skipped arrays entirely, so any string nested inside an array
(open_questions.questions[], ai_brainstorm.prompts[], approach.cards[],
project items, status timeline items…) was invisible to the leak audit.
That's why the script said "9 leaks across 6 locales" while the actual
backlog was ~1,700.
Recurse into arrays now: each entry becomes `path[N]…`. Same dotted-path
output shape as before; consumers (i18n-apply-leaks) already handle the
bracketed paths.
True backlog as of this commit:
fr: 221 es: 374 it: 382 ja: 377 ko: 377 ru: 5
(ru's 5 are all proper nouns / file paths — known false positives)
Russian is the reference locale (recently added with full translations);
fr/es/it/ja/ko all carry significant pasted-German values across the
projects.* namespace especially. Use `npm run i18n:leaks` then
`npm run i18n:apply-leaks <locale>` to work through them — that pipeline
already existed but was hiding most of its targets.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>