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:
21
angular.json
21
angular.json
@@ -30,9 +30,8 @@
|
||||
"input": "public"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
"src/styles.scss"
|
||||
]
|
||||
"styles": ["src/styles.scss"],
|
||||
"polyfills": ["@angular/localize/init"]
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
@@ -85,12 +84,7 @@
|
||||
"configDir": ".storybook",
|
||||
"browserTarget": "atomic-design-poc:build",
|
||||
"compodoc": true,
|
||||
"compodocArgs": [
|
||||
"-e",
|
||||
"json",
|
||||
"-d",
|
||||
"."
|
||||
],
|
||||
"compodocArgs": ["-e", "json", "-d", "."],
|
||||
"port": 6006
|
||||
}
|
||||
},
|
||||
@@ -100,16 +94,11 @@
|
||||
"configDir": ".storybook",
|
||||
"browserTarget": "atomic-design-poc:build",
|
||||
"compodoc": true,
|
||||
"compodocArgs": [
|
||||
"-e",
|
||||
"json",
|
||||
"-d",
|
||||
"."
|
||||
],
|
||||
"compodocArgs": ["-e", "json", "-d", "."],
|
||||
"outputDir": "storybook-static"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user