Files
jobtrackingapp/docs/redesign/phase-7/p7-11/LOCALISATION.md
T

2.9 KiB
Raw Blame History

Generated-label localisation

Implemented CONDITIONAL GO; final hygiene/publication pending. Existing gallery, Reminders, application materials and correspondence owners remain.

Known built-in template IDs map to Bokmål names/categories/descriptions; English retains server metadata and unknown templates remain verbatim. Selection still passes the original theme object and preserves IDs, availability, Pro admission and renderer settings. A full frontend consumer caught an initial change to English descriptions; limiting the mapping to Bokmål restored the existing English contract, with7affected gallery/document-control cases passing.

Only recognized generated reminder strings and anchored numeric reasons translate; custom reasons remain verbatim. Tailoring headings/details map known kinds, preserving evidence/items and unknown kinds. Known cover-letter source/action enums translate; unknown values and authored prose remain unchanged. Existing CV history receives the corresponding display mapping in its own error/navigation boundary. No saved data or generated content is rewritten.

Resumed draft context stores absent metadata as absent and derives its fallback from the current locale at render time. Real company/job/source/subject and dirty content remain unchanged. Singular item/attachment labels use paired translations. Locale changes do not trigger a draft or setup reread.

Initial direct result70passed/6failed; final direct result 76/76 across four suites PASS, app TypeScript/targeted lint PASS. Existing modified assertions and new tests are reconciled in the final inventory, rather than counting every initial failure as a new case. Browser consumers initially still expected raw English generated reminders in Bokmål; those finite fixtures now assert their translated generated labels while retaining exact custom-content, no-refetch, route, focus and mutation checks. Final native/visual/static/publication evidence follows.

Final native 9/9 PASS, zero skips/flaky/retries,18:15:24–18:17:05UTC;52images/50all-enabled axe scans,0violations/355incomplete-node observations. Portable results retain raw result/source/image identities. Three images were actually inspected:320px Bokmål gallery,1440px Bokmål generated reasons and1024px English dark retained draft. Others remain automated evidence. Incompletes include336contrast observations (short badges, backgrounds obscured by fixed chrome/focus/dialogs) and19hidden-focus vectors in MUI background/menu portal transitions; these retain manual/settled-state qualification, not a reader pass.

No provider/model operation, canonical Career data, revision/save contract, frozen package or renderer geometry changes. Human Bokmål/editorial review and physical/assistive acceptance are not inferred from automation. Existing deferred functionality and production qualifications remain. Static checks and normal push follow.