Step 1: i18n foundation (@angular/localize) + data inventory
Domain reference data already lives in the backend (per ADR-0001); the only residual "move" was ~90 inlined Dutch UI strings with no i18n layer. - Wire @angular/localize ($localize) — Angular first-party, no third-party lib - Pin the pattern on shared/ui/async: Dutch fallbacks → language-agnostic input()s with localizable $localize defaults (English-shared-UI rule) - CLAUDE.md: drop i18n (now in scope) + stale "real backend"/"OpenAPI codegen" (both already shipped); document the $localize convention Bulk string sweep deferred to Step 2 to avoid touching ~36 files twice. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -4,13 +4,8 @@
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./out-tsc/app",
|
||||
"types": []
|
||||
"types": ["@angular/localize"]
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"src/**/*.spec.ts",
|
||||
"src/**/*.stories.ts"
|
||||
]
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": ["src/**/*.spec.ts", "src/**/*.stories.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user